GraphSchema.FindCategoryByLabel(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.