GraphCategoryCollection.GetCategoriesBasedOn Method
Gets an enumeration of all categories that are based on the specified base category.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function GetCategoriesBasedOn ( _
baseCategory As GraphCategory _
) As IEnumerable(Of GraphCategory)
public IEnumerable<GraphCategory> GetCategoriesBasedOn(
GraphCategory baseCategory
)
public:
IEnumerable<GraphCategory^>^ GetCategoriesBasedOn(
GraphCategory^ baseCategory
)
member GetCategoriesBasedOn :
baseCategory:GraphCategory -> IEnumerable<GraphCategory>
public function GetCategoriesBasedOn(
baseCategory : GraphCategory
) : IEnumerable<GraphCategory>
Parameters
baseCategory
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryBase category to search with.
Return Value
Type: IEnumerable<GraphCategory>
The categories that are based on the base category. Includes the base category itself.
.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.