Partager via


Unbox.AsInt32 Method

Unboxes the specified object into an Int32 object.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function AsInt32 ( _
    var As Object _
) As Integer
public static int AsInt32(
    Object var
)
public:
static int AsInt32(
    Object^ var
)
static member AsInt32 : 
        var:Object -> int
public static function AsInt32(
    var : Object
) : int

Parameters

  • var
    Type: Object

    The original value to unbox.

Return Value

Type: Int32
Returns an Int32 object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace