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
label
Type: System.StringThe label to search for.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
The first category with the given label. Null if no category is found.
.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.