DiagramItemCollection.IndexOf Method
Returns the zero-based index of the DiagramItem in the collection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Public Overridable Function IndexOf ( _
diagramItem As DiagramItem _
) As Integer
public virtual int IndexOf(
DiagramItem diagramItem
)
public:
virtual int IndexOf(
DiagramItem^ diagramItem
)
abstract IndexOf :
diagramItem:DiagramItem -> int
override IndexOf :
diagramItem:DiagramItem -> int
public function IndexOf(
diagramItem : DiagramItem
) : int
Parameters
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The DiagramItem to search for.
Return Value
Type: System.Int32
The zero-based index of the DiagramItem in the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.