Search
ReadOnlyDiagramNodeCollection.IndexOf Method
See Also
 





Searches for the specified DiagramNode 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 (
    DiagramNode node
)

Visual Basic  Copy Code

Public Function IndexOf( _
    node As DiagramNode _
) As Integer

 Parameters

node
The DiagramNode whose index to retreive from the collection.

 Return Value

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

 See Also