CategoryCollection.Contains 方法 (Guid) (Microsoft.Office.Server.Search.Administration)

Returns a Boolean value that indicates whether the collection of categories contains the Category object with the specified property set.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Function Contains ( _
    propset As Guid _
) As Boolean
用法
Dim instance As CategoryCollection
Dim propset As Guid
Dim returnValue As Boolean

returnValue = instance.Contains(propset)
public bool Contains (
    Guid propset
)

参数

  • propset
    A GUID identifying the property set.

返回值

true indicates the CategoryCollection class contains the specified Category; otherwise, false.

另请参阅

参考

CategoryCollection 类
CategoryCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间