Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BasicProfileViolationCollection::IndexOf Method (BasicProfileViolation^)

 

Returns the zero-based index of a specified BasicProfileViolation in the collection.

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

public:
int IndexOf(
	BasicProfileViolation^ violation
)

Parameters

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

The BasicProfileViolation to find in the collection.

Return Value

Type: System::Int32

The zero-based index of the specified BasicProfileViolation, or -1 if the element was not found in the collection.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft