Share via


GraphCategory.IsBasedOn(GraphCategory) Method

Definition

Determines if this category is based upon the specified category. Walks the entire "BasedOn" chain looking for the specified category.

public:
 bool IsBasedOn(Microsoft::VisualStudio::GraphModel::GraphCategory ^ baseCategory);
public bool IsBasedOn (Microsoft.VisualStudio.GraphModel.GraphCategory baseCategory);
member this.IsBasedOn : Microsoft.VisualStudio.GraphModel.GraphCategory -> bool
Public Function IsBasedOn (baseCategory As GraphCategory) As Boolean

Parameters

baseCategory
GraphCategory

The base category to check

Returns

True if this category is based on the specified category, including if this category IS the base category

Applies to