Partager via


DiagramItemCollection.Item Property

Gets the DiagramItem at the specified position 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

'Déclaration
Public Overridable Default Property Item ( _
    index As Integer _
) As DiagramItem
    Get
    Set
public virtual DiagramItem this[
    int index
] { get; set; }
public:
virtual property DiagramItem^ default[int index] {
    DiagramItem^ get (int index);
    void set (int index, DiagramItem^ value);
}
abstract Item : DiagramItem with get, set
override Item : DiagramItem with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

DiagramItemCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace