Compartir a través de


: CategoryCollection.Contains (Método) (String) (Microsoft.Office.Server.Search.Administration)

Returns a Boolean value that indicates whether the collection of categories contains the Category object with the specified name.

Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    name As String _
) As Boolean
'Uso
Dim instance As CategoryCollection
Dim name As String
Dim returnValue As Boolean

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

Parámetros

  • name
    A string specifying the name of the category.

Valor devuelto

true indicates the CategoryCollection class contains the specified Category; otherwise, false.

Vea también

Referencia

CategoryCollection (Clase)
CategoryCollection (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)