CommandStatus Constructor
Initializes a new instance of the CommandStatus class by using the provided indications of whether the command is visible and whether it is enabled.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣告
Public Sub New ( _
visible As Boolean, _
enabled As Boolean _
)
public CommandStatus(
bool visible,
bool enabled
)
public:
CommandStatus(
bool visible,
bool enabled
)
new :
visible:bool *
enabled:bool -> CommandStatus
public function CommandStatus(
visible : boolean,
enabled : boolean
)
Parameters
- visible
Type: System.Boolean
true if the command is visible; otherwise, false.
- enabled
Type: System.Boolean
true if the command is enabled; otherwise, 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.