Partilhar via


GraphCommand Constructor

Definition

Creates a new GraphCommand.

public GraphCommand (Microsoft.VisualStudio.GraphModel.GraphCommandDefinition definition, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphCategory> targetCategories = default, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphCategory> linkCategories = default, bool trackChanges = false);
new Microsoft.VisualStudio.GraphModel.GraphCommand : Microsoft.VisualStudio.GraphModel.GraphCommandDefinition * seq<Microsoft.VisualStudio.GraphModel.GraphCategory> * seq<Microsoft.VisualStudio.GraphModel.GraphCategory> * bool -> Microsoft.VisualStudio.GraphModel.GraphCommand
Public Sub New (definition As GraphCommandDefinition, Optional targetCategories As IEnumerable(Of GraphCategory) = Nothing, Optional linkCategories As IEnumerable(Of GraphCategory) = Nothing, Optional trackChanges As Boolean = false)

Parameters

targetCategories
IEnumerable<GraphCategory>
linkCategories
IEnumerable<GraphCategory>
trackChanges
Boolean

Applies to