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
'宣言
Public Shared Function Box ( _
nullableValue As Nullable(Of Boolean) _
) As Object
public static Object Box(
Nullable<bool> nullableValue
)
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.