GraphCategory.IsBasedOn Method
Determines if this category is based upon the specified category. Walks the entire "BasedOn" chain looking for the specified category.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function IsBasedOn ( _
baseCategory As GraphCategory _
) As Boolean
public bool IsBasedOn(
GraphCategory baseCategory
)
public:
bool IsBasedOn(
GraphCategory^ baseCategory
)
member IsBasedOn :
baseCategory:GraphCategory -> bool
public function IsBasedOn(
baseCategory : GraphCategory
) : boolean
Parameters
- baseCategory
Type: Microsoft.VisualStudio.GraphModel.GraphCategory
the base category to check
Return Value
Type: System.Boolean
true if this category is based on the specified category, including if this category IS the base category
.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.