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
- categorySet
Tür: System.Collections.Generic.HashSet<GraphCategory>
Arama yapmak için kategori kümesidir.
- matchOption
Tür: Microsoft.VisualStudio.GraphModel.GraphCategoryMatchOption
Kategoriler tam olarak eşleşmesi veya izin verip de eşleştirmek için kategoriler miras.
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
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.