Class AttributeHandle
public abstract class AttributeHandle : SafeHandle, IDisposable, IEquatable<AttributeHandle>
- Inheritance
-
AttributeHandle
- Implements
- Derived
- Inherited Members
Constructors
AttributeHandle(bool)
protected AttributeHandle(bool ownsHandle)
Parameters
ownsHandle
bool
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
other
AttributeHandleAn 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
obj
objectThe 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 IntPtr GetKlass()
Returns
GetStartIndex()
public uint GetStartIndex()
Returns
OwnedCopy()
public AttributeOwnedHandle OwnedCopy()
Returns
SetEndIndex(uint)
public void SetEndIndex(uint value)
Parameters
value
uint
SetKlass(IntPtr)
public void SetKlass(IntPtr value)
Parameters
value
IntPtr
SetStartIndex(uint)
public void SetStartIndex(uint value)
Parameters
value
uint
UnownedCopy()
public AttributeUnownedHandle UnownedCopy()