Share via


GraphObject.GetDerivedCategory Method

Definition

Overloads

GetDerivedCategory(GraphCategory)

Return first matching leaf category that has the given category in its heirarchy.

GetDerivedCategory(String)

Return first matching leaf category that has the given category in its heirarchy.

GetDerivedCategory(GraphCategory)

Return first matching leaf category that has the given category in its heirarchy.

public:
 Microsoft::VisualStudio::GraphModel::GraphCategory ^ GetDerivedCategory(Microsoft::VisualStudio::GraphModel::GraphCategory ^ parentCategory);
public Microsoft.VisualStudio.GraphModel.GraphCategory GetDerivedCategory (Microsoft.VisualStudio.GraphModel.GraphCategory parentCategory);
member this.GetDerivedCategory : Microsoft.VisualStudio.GraphModel.GraphCategory -> Microsoft.VisualStudio.GraphModel.GraphCategory
Public Function GetDerivedCategory (parentCategory As GraphCategory) As GraphCategory

Parameters

parentCategory
GraphCategory

The category to find

Returns

Return first matching leaf category

Applies to

GetDerivedCategory(String)

Return first matching leaf category that has the given category in its heirarchy.

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

Parameters

parentCategory
String

The category to find

Returns

Return first matching leaf category

Applies to