Class AttributeHandle
public abstract class AttributeHandle : SafeHandle, IDisposable, IEquatable<AttributeHandle>
- Inheritance
-
AttributeHandle
- Implements
- Derived
- Inherited Members
Constructors
AttributeHandle(bool)
protected AttributeHandle(bool ownsHandle)
Parameters
ownsHandlebool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(AttributeHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AttributeHandle? other)
Parameters
otherAttributeHandleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetEndIndex()
public uint GetEndIndex()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetKlass()
public nint GetKlass()
Returns
GetStartIndex()
public uint GetStartIndex()
Returns
OwnedCopy()
public AttributeOwnedHandle OwnedCopy()
Returns
SetEndIndex(uint)
public void SetEndIndex(uint value)
Parameters
valueuint
SetKlass(nint)
public void SetKlass(nint value)
Parameters
valuenint
SetStartIndex(uint)
public void SetStartIndex(uint value)
Parameters
valueuint
UnownedCopy()
public AttributeUnownedHandle UnownedCopy()