BasicProfileViolationCollection.Contains(BasicProfileViolation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.