IGraphFormattedLabel.Description(GraphObject, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an optional description to associate with the node. A common use for the consumer is to display this as a tool tip.
public:
System::String ^ Description(Microsoft::VisualStudio::GraphModel::GraphObject ^ graphObject, System::String ^ graphCommandDefinitionIdentifier);
public string Description (Microsoft.VisualStudio.GraphModel.GraphObject graphObject, string graphCommandDefinitionIdentifier);
abstract member Description : Microsoft.VisualStudio.GraphModel.GraphObject * string -> string
Public Function Description (graphObject As GraphObject, graphCommandDefinitionIdentifier As String) As String
Parameters
- graphObject
- GraphObject
The graph object to provide a tool tip for.
- graphCommandDefinitionIdentifier
- 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.