Partager via


PropertyCollection.Contains - Méthode

Indique si la propriété spécifiée se trouve dans la collection.

Espace de noms :  Microsoft.Office.Project.Server.Library
Assembly :  Microsoft.Office.Project.Server.Library (dans Microsoft.Office.Project.Server.Library.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    property As Property _
) As Boolean
'Utilisation
Dim instance As PropertyCollection
Dim property As [Property]
Dim returnValue As Boolean

returnValue = instance.Contains(property)
public bool Contains(
    Property property
)

Paramètres

Valeur renvoyée

Type : System.Boolean
True si la collection contient la propriété spécifiée ; dans le cas contraire, false.

Voir aussi

Référence

PropertyCollection classe

PropertyCollection - Membres

Microsoft.Office.Project.Server.Library - Espace de noms