Boxes.Box Method (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 ( _
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: System.BooleanThe value to return box value for.
Return Value
Type: System.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.