Class FixedLayoutChildClassArrayUnownedHandle
public class FixedLayoutChildClassArrayUnownedHandle : FixedLayoutChildClassArrayHandle, IDisposable
- Inheritance
-
FixedLayoutChildClassArrayUnownedHandle
- Implements
- Inherited Members
Constructors
FixedLayoutChildClassArrayUnownedHandle(IntPtr, int)
public FixedLayoutChildClassArrayUnownedHandle(IntPtr ptr, int length)
Parameters
Properties
NullHandle
public static FixedLayoutChildClassArrayUnownedHandle NullHandle { get; }
Property Value
Methods
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()
Returns
- bool
true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.
ToArray(int)
public FixedLayoutChildClass[] ToArray(int length)
Parameters
length
int
Returns
ToNullableArray(int)
public FixedLayoutChildClass[]? ToNullableArray(int length)
Parameters
length
int