GraphProperty.GetLabelOrId Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
- graph
Type: Microsoft.VisualStudio.GraphModel.Graph
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.