Boxes.Box Method (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 ( _
value As Boolean _
) As Object
public static Object Box(
bool value
)
public:
static Object^ Box(
bool value
)
static member Box :
value:bool -> Object
public static function Box(
value : boolean
) : Object
Parameters
value
Type: BooleanThe value to return box value for.
Return Value
Type: Object
Returns true if the value is true; otherwise returns false.
.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.