Udostępnij za pośrednictwem


GraphSchema.FindCategoryByLabel(String) Method

Definition

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

public:
 Microsoft::VisualStudio::GraphModel::GraphCategory ^ FindCategoryByLabel(System::String ^ label);
public Microsoft.VisualStudio.GraphModel.GraphCategory FindCategoryByLabel (string label);
member this.FindCategoryByLabel : string -> Microsoft.VisualStudio.GraphModel.GraphCategory
Public Function FindCategoryByLabel (label As String) As GraphCategory

Parameters

label
String

The label to search for

Returns

The first category with the given label. Null if no category was found.

Applies to