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)


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

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


  • name
    Type: System.String
    A string that specifies an internal or display name.

Return Value

Type: System.Boolean

See Also


LocationConfigurationCollection Class

LocationConfigurationCollection Members

Contains Overload

Microsoft.Office.Server.Search.Administration Namespace