DiagramItemCollection.IndexOf(DiagramItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based index of the DiagramItem in the collection.
public:
virtual int IndexOf(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public virtual int IndexOf (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
abstract member IndexOf : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> int
override this.IndexOf : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> int
Public Overridable Function IndexOf (diagramItem As DiagramItem) As Integer
Parameters
- diagramItem
- DiagramItem
The DiagramItem to search for.
Returns
The zero-based index of the DiagramItem in the collection.