Class ScopedGCHandle
Original GCHandle that implement IDisposable
Inheritance
System.Object
ScopedGCHandle
Assembly: OpenCvSharp.dll
Syntax
public sealed class ScopedGCHandle : IDisposable
Constructors
|
Improve this Doc
View Source
ScopedGCHandle(Object)
Declaration
public ScopedGCHandle(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
ScopedGCHandle(Object, GCHandleType)
Declaration
public ScopedGCHandle(object value, GCHandleType type)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Runtime.InteropServices.GCHandleType |
type |
|
Properties
|
Improve this Doc
View Source
Handle
Declaration
public GCHandle Handle { get; }
Property Value
Type |
Description |
System.Runtime.InteropServices.GCHandle |
|
|
Improve this Doc
View Source
IsAllocated
Declaration
public bool IsAllocated { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Target
Declaration
public object Target { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Free()
Declaration
|
Improve this Doc
View Source
FromIntPtr(IntPtr)
Declaration
public static ScopedGCHandle FromIntPtr(IntPtr value)
Parameters
Type |
Name |
Description |
IntPtr |
value |
|
Returns
|
Improve this Doc
View Source
ToIntPtr(ScopedGCHandle)
Declaration
public static IntPtr ToIntPtr(ScopedGCHandle value)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|