Condividi tramite


Costruttore GraphCommandDefinition

Crea un nuovo GraphCommandDefinition.

Spazio dei nomi:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • priority
    Tipo: System.Int32
    Priorità utilizzata per ordinare il comando quando viene inviato all'utente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

GraphCommandDefinition Classe

Spazio dei nomi Microsoft.VisualStudio.GraphModel