Delen via


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

.NET Framework Security

See Also

Reference

GraphCommand Class

Microsoft.VisualStudio.GraphModel Namespace