BasicProfileViolationCollection.Contains(BasicProfileViolation) Méthode

Définition

Vérifie si la collection contient l’objet BasicProfileViolation spécifié.Checks whether the collection contains the specified BasicProfileViolation object.

public:
 bool Contains(System::Web::Services::Description::BasicProfileViolation ^ violation);
public bool Contains (System.Web.Services.Description.BasicProfileViolation violation);
member this.Contains : System.Web.Services.Description.BasicProfileViolation -> bool
Public Function Contains (violation As BasicProfileViolation) As Boolean

Paramètres

violation
BasicProfileViolation

Objet BasicProfileViolation à placer dans la collection.The BasicProfileViolation object to locate in the collection.

Retours

true si l'objet BasicProfileViolation existe dans la collection ; sinon, false.true if the BasicProfileViolation object exists in the collection; otherwise false.

S’applique à