BasicProfileViolationCollection::Contains Method (BasicProfileViolation^)

 

Checks whether the collection contains the specified BasicProfileViolation object.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
bool Contains(
	BasicProfileViolation^ violation
)

Parameters

violation
Type: System.Web.Services.Description::BasicProfileViolation^

The BasicProfileViolation object to locate in the collection.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: