Unbox.AsIntPtr Method
Unboxes the specified object into an IntPtr object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function AsIntPtr ( _
var As Object _
) As IntPtr
public static IntPtr AsIntPtr(
Object var
)
Parameters
- var
Type: System.Object
The original value to unbox.
Return Value
Type: System.IntPtr
Returns an IntPtr object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.