Share via


FullTextIndexCollection.Contains Method

Returns a Boolean value that indicates whether the collection of full text indexes contains a specific full text index.

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

Syntax

'Declaration
Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As FullTextIndexCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
bool Contains(
    string name
)

Parameters

  • name
    Type: System.String

    A string that specifies the name of the full text index.

Return Value

Type: System.Boolean
[true] indicates that the specified full text index is contained in the FullTextIndexCollection; otherwise, [false].

See Also

Reference

FullTextIndexCollection Interface

FullTextIndexCollection Members

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