Share via


CategoryCollection.Contains Method (Guid)

Returns a Boolean value that indicates whether the collection of crawled property categories contains a specific property set.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function Contains ( _
    propset As Guid _
) As Boolean
'Usage
Dim instance As CategoryCollection
Dim propset As Guid
Dim returnValue As Boolean

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

Parameters

  • propset
    Type: System.Guid

    A GUID that specifies the property set of the category.

Return Value

Type: System.Boolean
true indicates that the CategoryCollection class contains the specified crawled property; otherwise, false.

See Also

Reference

CategoryCollection Interface

CategoryCollection Members

Contains Overload

Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace