GraphCommand Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- definition
- GraphCommandDefinition
- targetCategories
- IEnumerable<GraphCategory>
- linkCategories
- IEnumerable<GraphCategory>
- trackChanges
- Boolean