CategoryCollection.Contains Method (Guid)

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

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

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

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

Parameters

  • propset
    Type: System.Guid
    A GUID identifying the property set.

Return Value

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

See Also

Reference

CategoryCollection Class

CategoryCollection Members

Contains Overload

Microsoft.Office.Server.Search.Administration Namespace