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
Package: MindFusion.Diagramming

 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 retrieve from the collection.

 Return Value

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

 See Also