GCHandle<T> Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename T>
where T : classpublic value class GCHandle : IDisposable, IEquatable<System::Runtime::InteropServices::GCHandle<T>>
public struct GCHandle<T> : IDisposable, IEquatable<System.Runtime.InteropServices.GCHandle<T>> where T : class
type GCHandle<'T (requires 'T : null)> = struct
interface IDisposable
Public Structure GCHandle(Of T)
Implements IDisposable, IEquatable(Of GCHandle(Of T))
Type Parameters
- T
- Inheritance
- Implements
Constructors
GCHandle<T>(T) |
Properties
IsAllocated | |
Target |
Methods
Dispose() | |
Equals(GCHandle<T>) | |
Equals(Object) | |
FromIntPtr(IntPtr) | |
GetHashCode() | |
ToIntPtr(GCHandle<T>) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.