GraphCommand Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new GraphCommand.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
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
)
Parameters
- definition
Type: Microsoft.VisualStudio.GraphModel.GraphCommandDefinition
- targetCategories
Type: System.Collections.Generic.IEnumerable<GraphCategory>
- linkCategories
Type: System.Collections.Generic.IEnumerable<GraphCategory>
- trackChanges
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.