BasicProfileViolationCollection.Contains(BasicProfileViolation) Method

Definition

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

Parameters

violation
BasicProfileViolation

The BasicProfileViolation object to locate in the collection.

Returns

true if the BasicProfileViolation object exists in the collection; otherwise false.

Applies to