Partager via


Category.Contains Method

Returns a Boolean value that indicates whether the category contains any crawled properties for 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 Category
Dim propset As Guid
Dim returnValue As Boolean

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

Parameters

  • propset
    Type: System.Guid

    A GUID that identifies the property set.

Return Value

Type: System.Boolean
true if the category contains crawled properties matching the specified property set; otherwise, false.

See Also

Reference

Category Class

Category Members

Microsoft.Office.Server.Search.Administration Namespace