Partilhar via


Construtor GraphCommandDefinition

Cria um novo GraphCommandDefinition.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)

Sintaxe

'Declaração
Public Sub New ( _
    id As String, _
    label As String, _
    direction As GraphContextDirection, _
    priority As Integer _
)
public GraphCommandDefinition(
    string id,
    string label,
    GraphContextDirection direction,
    int priority
)
public:
GraphCommandDefinition(
    String^ id, 
    String^ label, 
    GraphContextDirection direction, 
    int priority
)
new : 
        id:string * 
        label:string * 
        direction:GraphContextDirection * 
        priority:int -> GraphCommandDefinition
public function GraphCommandDefinition(
    id : String, 
    label : String, 
    direction : GraphContextDirection, 
    priority : int
)

Parâmetros

  • priority
    Tipo: System.Int32
    A prioridade usada para classificar o comando quando o é apresentada para o usuário.

Segurança do .NET Framework

Consulte também

Referência

GraphCommandDefinition Classe

Namespace Microsoft.VisualStudio.GraphModel