Partager via


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

'Déclaration
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

See Also

Reference

CommandStatus Class

Microsoft.VisualStudio.TestTools.Vsip Namespace