Unbox.AsInt32 Method
Unboxes the specified object into an Int32 object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared Function AsInt32 ( _
var As Object _
) As Integer
public static int AsInt32(
Object var
)
Parameters
- var
Type: System.Object
The original value to unbox.
Return Value
Type: System.Int32
Returns an Int32 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.