Aracılığıyla paylaş


GraphObject.HasCategoryInSet Yöntem

Verilen kümesine kategoriler bu nesne geçerli olup olmadığını belirler.

Ad alanı:  Microsoft.VisualStudio.GraphModel
Derleme:  Microsoft.VisualStudio.GraphModel (Microsoft.VisualStudio.GraphModel.dll içinde)

Sözdizimi

'Bildirim
Public Function HasCategoryInSet ( _
    categorySet As HashSet(Of GraphCategory), _
    matchOption As GraphCategoryMatchOption _
) As Boolean
public bool HasCategoryInSet(
    HashSet<GraphCategory> categorySet,
    GraphCategoryMatchOption matchOption
)
public:
bool HasCategoryInSet(
    HashSet<GraphCategory^>^ categorySet, 
    GraphCategoryMatchOption matchOption
)
member HasCategoryInSet : 
        categorySet:HashSet<GraphCategory> * 
        matchOption:GraphCategoryMatchOption -> bool 
public function HasCategoryInSet(
    categorySet : HashSet<GraphCategory>, 
    matchOption : GraphCategoryMatchOption
) : boolean

Parametreler

Dönüş Değeri

Tür: System.Boolean
Bu nesnenin bir veya daha fazla belirli kategorileri varsa true; FALSE Aksi durumda.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

GraphObject Sınıf

Microsoft.VisualStudio.GraphModel Ad Alanı