共用方式為


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

Return Value

Type: System.IntPtr
Returns an IntPtr object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace