Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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.Booleantrue if the command is visible; otherwise, false.
enabled
Type: System.Booleantrue 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.