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
schema
Type: Microsoft.VisualStudio.GraphModel.GraphThe graph (or GraphSchema) from which to retrieve the metadata.
Return Value
Type: 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.