BaseInfoCollection<T>.Contains method
Determines if this collection contains an object with the given name.
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 BaseInfoCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains(
string name
)
Parameters
name
Type: System.StringThe name of the object to locate in this collection.
Return value
Type: System.Boolean
true if an object of the given name is found; otherwise, false.