Partager via


Boxes.Box Method (Nullable<Boolean>)

Gets the box value specified.

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

Syntax

'Declaration
Public Shared Function Box ( _
    nullableValue As Nullable(Of Boolean) _
) As Object
public static Object Box(
    Nullable<bool> nullableValue
)
public:
static Object^ Box(
    Nullable<bool> nullableValue
)
static member Box : 
        nullableValue:Nullable<bool> -> Object
public static function Box(
    nullableValue : Nullable<boolean>
) : Object

Parameters

  • nullableValue
    Type: Nullable<Boolean>

    Value to get box value for.

Return Value

Type: Object
Returns the value if not nulla null reference (Nothing in Visual Basic); otherwise returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

Boxes Class

Box Overload

Microsoft.VisualStudio.PlatformUI Namespace