GraphCategory::GetLabelOrId Method (Graph^)

 

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

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

public:
String^ GetLabelOrId(
	Graph^ schema
)

Parameters

schema
Type: Microsoft.VisualStudio.GraphModel::Graph^

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

Return Value

Type: System::String^

Return to top
Show: