共用方式為


Boxes Class

Defines common boxed values.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.Boxes

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

Syntax

'宣告
Public NotInheritable Class Boxes
public static class Boxes

The Boxes type exposes the following members.

Methods

  Name Description
Public methodStatic member Box(Boolean) Gets the box value specified.
Public methodStatic member Box(Nullable<Boolean>) Gets the box value specified.

Top

Fields

  Name Description
Public fieldStatic member BooleanFalse Value of false.
Public fieldStatic member BooleanTrue Value of true.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace