ModelItemCollection.IList.IndexOf Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines the index of a specific item in the IList.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As ModelItemCollection
Dim value As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
    Object value
)
private:
virtual int IndexOf(
    Object^ value
) sealed = IList::IndexOf
JScript does not support explicit interface implementations.
private abstract IndexOf : 
        value:Object -> int 
private override IndexOf : 
        value:Object -> int 

Parameters

Return Value

Type: System.Int32
Returns the Int32 index of value if found in the list; otherwise, -1.

Implements

IList.IndexOf(Object)

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ModelItemCollection Class

ModelItemCollection Members

System.Activities.Design.Model Namespace