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.
ActivityCollection::IList::IndexOf Method (Object^)
.NET Framework (current version)
Gets the zero-based index of the Object in the underlying activities collection.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Parameters
- value
-
Type:
System::Object^
The Object to be indexed.
Return Value
Type: System::Int32The zero-based index of the value in the underlying activities collection or -1 if not found in the collection.
Implements
IList::IndexOf(Object^)| Exception | Condition |
|---|---|
| ArgumentException | The value is not of type Activity and the exception object contains "Error_InvalidListItem" error message. |
.NET Framework
Available since 3.0
Available since 3.0
Show: