HandleRef.ToIntPtr(HandleRef) Method

Definition

Returns the internal integer representation of a HandleRef object.

public:
 static IntPtr ToIntPtr(System::Runtime::InteropServices::HandleRef value);
public static IntPtr ToIntPtr (System.Runtime.InteropServices.HandleRef value);
static member ToIntPtr : System.Runtime.InteropServices.HandleRef -> nativeint
Public Shared Function ToIntPtr (value As HandleRef) As IntPtr

Parameters

value
HandleRef

A HandleRef object to retrieve an internal integer representation from.

Returns

IntPtr

nativeint

An IntPtr object that represents a HandleRef object.

Applies to