LocationConfigurationCollection.Contains method (String)

Determines whether a LocationConfiguration object with the specified internal name or display name is in the collection.

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

Syntax

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

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

Parameters

  • name
    Type: System.String

    A string that specifies an internal or display name.

Return value

Type: System.Boolean

See also

Reference

LocationConfigurationCollection class

LocationConfigurationCollection members

Contains overload

Microsoft.Office.Server.Search.Administration namespace