Class MiniObjectHandle
public abstract class MiniObjectHandle : SafeHandle, IDisposable, IEquatable<MiniObjectHandle>
- Inheritance
-
MiniObjectHandle
- Implements
- Derived
- Inherited Members
Constructors
MiniObjectHandle(bool)
protected MiniObjectHandle(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(MiniObjectHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MiniObjectHandle? other)
Parameters
other
MiniObjectHandleAn 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
GetCopy()
public MiniObjectCopyFunction GetCopy()
Returns
GetDispose()
public MiniObjectDisposeFunction GetDispose()
Returns
GetFlags()
public uint GetFlags()
Returns
GetFree()
public MiniObjectFreeFunction GetFree()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetLockstate()
public int GetLockstate()
Returns
GetRefcount()
public int GetRefcount()
Returns
GetType()
public nuint GetType()
Returns
OwnedCopy()
public MiniObjectOwnedHandle OwnedCopy()
Returns
SetCopy(MiniObjectCopyFunction)
public void SetCopy(MiniObjectCopyFunction value)
Parameters
value
MiniObjectCopyFunction
SetDispose(MiniObjectDisposeFunction)
public void SetDispose(MiniObjectDisposeFunction value)
Parameters
SetFlags(uint)
public void SetFlags(uint value)
Parameters
value
uint
SetFree(MiniObjectFreeFunction)
public void SetFree(MiniObjectFreeFunction value)
Parameters
value
MiniObjectFreeFunction
SetLockstate(int)
public void SetLockstate(int value)
Parameters
value
int
SetRefcount(int)
public void SetRefcount(int value)
Parameters
value
int
SetType(nuint)
public void SetType(nuint value)
Parameters
value
nuint
UnownedCopy()
public MiniObjectUnownedHandle UnownedCopy()