Search
ReadOnlyDiagramItemCollection.IndexOf Method
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public int IndexOf (
    DiagramItem item
)

Visual Basic  Copy Code

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

 Parameters

item
The DiagramItem whose index to retreive from the collection.

 Return Value

The zero-based index of the specified item within the colleciton; or -1 if the item is not found.

 See Also