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
- value
Type: System.Object
The Object to locate in the IList.
Return Value
Type: System.Int32
Returns the Int32 index of value if found in the list; otherwise, -1.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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