Condividi tramite


GraphCategory.IsBasedOn Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

See Also

Reference

GraphCategory Class

Microsoft.VisualStudio.GraphModel Namespace