共用方式為


GraphCommand 建構函式

建立新的 GraphCommand。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

GraphCommand 類別

Microsoft.VisualStudio.GraphModel 命名空間