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.

WebBaseEventCollection::IndexOf Method (WebBaseEvent^)

 

Gets the index of the specified WebBaseEvent object.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public:
int IndexOf(
	WebBaseEvent^ value
)

Parameters

value
Type: System.Web.Management::WebBaseEvent^

The WebBaseEvent object for which to obtain the index.

Return Value

Type: System::Int32

The index of the specified WebBaseEvent object within the collection.

Exception Condition
ArgumentOutOfRangeException

The object is not in the collection.

The following code example shows how to use the IndexOf property.

No code example is currently available or this language may not be supported.

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