IGraphFormattedLabel::Label Method (GraphObject^, String^)

 

Provides an optional label that the consumer will use instead of the node's Label property.

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

String^ Label(
	GraphObject^ graphObject,
	String^ graphCommandDefinitionIdentifier
)

Parameters

graphObject
Type: Microsoft.VisualStudio.GraphModel::GraphObject^

The graph object to provide a display label for.

graphCommandDefinitionIdentifier
Type: System::String^

The command identifier associated with the node being displayed. This can be used to customize the label for a node when viewed in different views.

Return Value

Type: System::String^

Returns String.

Return to top
Show: