Partilhar via


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