GraphCommandDefinition Constructor (String^, String^, GraphContextDirection, Int32)

 

Creates a new GraphCommandDefinition.

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public:
GraphCommandDefinition(
	String^ id,
	String^ label,
	GraphContextDirection direction,
	int priority
)

Parameters

id
Type: System::String^

The unique identifier.

label
Type: System::String^

The readable label.

direction
Type: Microsoft.VisualStudio.GraphModel::GraphContextDirection

The direction of the GraphContexts associated with this command.

priority
Type: System::Int32

The priority used to sort the command when it is presented to the user.

Return to top
Show: