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
C# Copy Code |
---|
public int IndexOf ( |
Visual Basic Copy Code |
---|
Public Function IndexOf( _ |
The object to locate in the List(T).
The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, -1.