BasicProfileViolationCollection::IndexOf Method (BasicProfileViolation^)
.NET Framework (current version)
Returns the zero-based index of a specified BasicProfileViolation in the collection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- violation
-
Type:
System.Web.Services.Description::BasicProfileViolation^
The BasicProfileViolation to find in the collection.
Return Value
Type: System::Int32The zero-based index of the specified BasicProfileViolation, or -1 if the element was not found in the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: