DiagramLite Programmer's Guide
CollectionBase(T, E).IndexOf Method
See Also
 





Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public int IndexOf (
    T item
)

Visual Basic  Copy Code

Public Function IndexOf( _
    item As T _
) As Integer

 Parameters

item

The object to locate in the List(T).

 Return Value

The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, -1.

 See Also

CollectionBase(T, E) Members
CollectionBase(T, E) Class
MindFusion.Diagramming Namespace