GraphCategory.GetLabelOrId(Graph) 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.
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.