Share via


GraphCategory.GetLabelOrId Method

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)

Syntax

'Declaration
Public Function GetLabelOrId ( _
    schema As Graph _
) As String
public string GetLabelOrId(
    Graph schema
)
public:
String^ GetLabelOrId(
    Graph^ schema
)
member GetLabelOrId : 
        schema:Graph -> string 
public function GetLabelOrId(
    schema : Graph
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

GraphCategory Class

Microsoft.VisualStudio.GraphModel Namespace