Share via


GraphSchema.FindCategoryByLabel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the first GraphCategory with the specified label from this schema or any subschema.

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

Syntax

'Declaration
Public Function FindCategoryByLabel ( _
    label As String _
) As GraphCategory
public GraphCategory FindCategoryByLabel(
    string label
)
public:
GraphCategory^ FindCategoryByLabel(
    String^ label
)
member FindCategoryByLabel : 
        label:string -> GraphCategory
public function FindCategoryByLabel(
    label : String
) : GraphCategory

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphCategory
The first category with the given label. Null if no category is found.

.NET Framework Security

See Also

Reference

GraphSchema Class

Microsoft.VisualStudio.GraphModel Namespace