GraphObject.HasCategoryInSet 方法

确定给定的设置类别适用于此对象。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
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

参数

返回值

类型:System.Boolean
True,则此对象具有一个或多个特定类别;错误否则为。

.NET Framework 安全性

请参见

参考

GraphObject 类

Microsoft.VisualStudio.GraphModel 命名空间