Share via


GraphSchema.FindCategory(String) Method

Definition

Gets the GraphCategory with the specified id by searching this schema and all of its children recurrsively.

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

Parameters

id
String

Unique Id of the GraphCategory to get

Returns

The matching GraphCategory, or null if not found

Applies to