Partager via


ManagedPropertyCollection.Contains, méthode (Microsoft.Office.Server.Search.Administration)

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

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    name As String _
) As Boolean
'Utilisation
Dim instance As ManagedPropertyCollection
Dim name As String
Dim returnValue As Boolean

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

Paramètres

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

Valeur de retour

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

Voir aussi

Référence

ManagedPropertyCollection, classe
Membres ManagedPropertyCollection
Microsoft.Office.Server.Search.Administration, espace de noms