Boxes.Box Method (Nullable<Boolean>)
Gets the box value specified.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.Nullable<Boolean>Value to get box value for.
Return Value
Type: System.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
- 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.