GraphObject.HasCategoryInSet(HashSet<GraphCategory>, GraphCategoryMatchOption) Método

Definição

Determina se o conjunto de categorias fornecido se aplica a este objeto.

public:
 bool HasCategoryInSet(System::Collections::Generic::HashSet<Microsoft::VisualStudio::GraphModel::GraphCategory ^> ^ categorySet, Microsoft::VisualStudio::GraphModel::GraphCategoryMatchOption matchOption);
public bool HasCategoryInSet (System.Collections.Generic.HashSet<Microsoft.VisualStudio.GraphModel.GraphCategory> categorySet, Microsoft.VisualStudio.GraphModel.GraphCategoryMatchOption matchOption);
member this.HasCategoryInSet : System.Collections.Generic.HashSet<Microsoft.VisualStudio.GraphModel.GraphCategory> * Microsoft.VisualStudio.GraphModel.GraphCategoryMatchOption -> bool
Public Function HasCategoryInSet (categorySet As HashSet(Of GraphCategory), matchOption As GraphCategoryMatchOption) As Boolean

Parâmetros

categorySet
HashSet<GraphCategory>

O conjunto de categorias para pesquisa

matchOption
GraphCategoryMatchOption

Se deve corresponder as categorias exaclty ou permitir que as categorias herdadas também correspondam

Retornos

Boolean

True se esse objeto tiver uma ou mais das categorias determinadas; caso contrário, false

Aplica-se a