Construtor GraphCommand
Cria um novo GraphCommand.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)
Sintaxe
'Declaração
Public Sub New ( _
definition As GraphCommandDefinition, _
targetCategories As IEnumerable(Of GraphCategory), _
linkCategories As IEnumerable(Of GraphCategory), _
trackChanges As Boolean _
)
public GraphCommand(
GraphCommandDefinition definition,
IEnumerable<GraphCategory> targetCategories,
IEnumerable<GraphCategory> linkCategories,
bool trackChanges
)
public:
GraphCommand(
GraphCommandDefinition^ definition,
IEnumerable<GraphCategory^>^ targetCategories,
IEnumerable<GraphCategory^>^ linkCategories,
bool trackChanges
)
new :
definition:GraphCommandDefinition *
targetCategories:IEnumerable<GraphCategory> *
linkCategories:IEnumerable<GraphCategory> *
trackChanges:bool -> GraphCommand
public function GraphCommand(
definition : GraphCommandDefinition,
targetCategories : IEnumerable<GraphCategory>,
linkCategories : IEnumerable<GraphCategory>,
trackChanges : boolean
)
Parâmetros
- definition
Tipo: Microsoft.VisualStudio.GraphModel.GraphCommandDefinition
- targetCategories
Tipo: System.Collections.Generic.IEnumerable<GraphCategory>
- linkCategories
Tipo: System.Collections.Generic.IEnumerable<GraphCategory>
- trackChanges
Tipo: System.Boolean
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.