Udostępnij za pośrednictwem


GraphCategory.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 ^ schema);
public string GetLabelOrId (Microsoft.VisualStudio.GraphModel.Graph schema);
member this.GetLabelOrId : Microsoft.VisualStudio.GraphModel.Graph -> string
Public Function GetLabelOrId (schema As Graph) As String

Parameters

schema
Graph

The Graph (or GraphSchema) from which to retrieve the metadata.

Returns

Applies to