Class MapInfoHandle
public abstract class MapInfoHandle : SafeHandle, IDisposable
- Inheritance
-
MapInfoHandle
- Implements
- Derived
- Inherited Members
Constructors
MapInfoHandle(bool)
protected MapInfoHandle(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(MapInfoHandle?)
public bool Equals(MapInfoHandle? other)
Parameters
other
MapInfoHandle
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
GetData()
public byte[] GetData()
Returns
- byte[]
GetFlags()
public MapFlags GetFlags()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMaxsize()
public nuint GetMaxsize()
Returns
GetMemory()
public IntPtr GetMemory()
Returns
GetSize()
public nuint GetSize()
Returns
GetUserData()
public IntPtr[] GetUserData()
Returns
- IntPtr[]
SetData(byte[])
public void SetData(byte[] value)
Parameters
value
byte[]
SetFlags(MapFlags)
public void SetFlags(MapFlags value)
Parameters
value
MapFlags
SetMaxsize(nuint)
public void SetMaxsize(nuint value)
Parameters
value
nuint
SetMemory(IntPtr)
public void SetMemory(IntPtr value)
Parameters
value
IntPtr
SetSize(nuint)
public void SetSize(nuint value)
Parameters
value
nuint
SetUserData(IntPtr[])
public void SetUserData(IntPtr[] value)
Parameters
value
IntPtr[]