Compartir a través de


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

Returns a Boolean value that indicates whether the collection of managed properties contains a specific ManagedProperty object.

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 ManagedPropertyCollection
Dim name As String
Dim returnValue As Boolean

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

Parámetros

  • name
    A string that specifies the name of the managed property.

Valor devuelto

true indicates the ManagedPropertyCollection class contains the specified ManagedProperty; otherwise, false.

Vea también

Referencia

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