Share via


GraphProperty.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 ( _
    graph As Graph _
) As String
public string GetLabelOrId(
    Graph graph
)
public:
String^ GetLabelOrId(
    Graph^ graph
)
member GetLabelOrId : 
        graph:Graph -> string
public function GetLabelOrId(
    graph : Graph
) : String

Parameters

Return Value

Type: String

.NET Framework Security

See Also

Reference

GraphProperty Class

Microsoft.VisualStudio.GraphModel Namespace