WeakGCHandle<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 WeakGCHandle : IDisposable, IEquatable<System::Runtime::InteropServices::WeakGCHandle<T>>
public struct WeakGCHandle<T> : IDisposable, IEquatable<System.Runtime.InteropServices.WeakGCHandle<T>> where T : class
type WeakGCHandle<'T (requires 'T : null)> = struct
interface IDisposable
Public Structure WeakGCHandle(Of T)
Implements IDisposable, IEquatable(Of WeakGCHandle(Of T))
Type Parameters
- T
- Inheritance
- Implements
Constructors
WeakGCHandle<T>(T, Boolean) |
Properties
IsAllocated |
Methods
Dispose() | |
Equals(Object) | |
Equals(WeakGCHandle<T>) | |
FromIntPtr(IntPtr) | |
GetHashCode() | |
SetTarget(T) | |
ToIntPtr(WeakGCHandle<T>) | |
TryGetTarget(T) |