Edit

Share via


GCHandle<T>.FromIntPtr(IntPtr) Method

Definition

public:
 static System::Runtime::InteropServices::GCHandle<T> FromIntPtr(IntPtr value);
public static System.Runtime.InteropServices.GCHandle<T> FromIntPtr(IntPtr value);
static member FromIntPtr : nativeint -> System.Runtime.InteropServices.GCHandle<'T (requires 'T : null)>
Public Shared Function FromIntPtr (value As IntPtr) As GCHandle(Of T)

Parameters

value
IntPtr

nativeint

Returns

Applies to