Condividi tramite


GraphProperty.GetLabelOrId(Graph) Method

Definition

Return the Label of this GraphCategory or else return the ID if no label was set

public:
 System::String ^ GetLabelOrId(Microsoft::VisualStudio::GraphModel::Graph ^ graph);
public string GetLabelOrId (Microsoft.VisualStudio.GraphModel.Graph graph);
member this.GetLabelOrId : Microsoft.VisualStudio.GraphModel.Graph -> string
Public Function GetLabelOrId (graph As Graph) As String

Parameters

graph
Graph

Returns

Applies to