Compartilhar via


LinkedElementCollection<T>.Item Property

Gets or sets the role at a specified index in a collection of linked elements.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Default Property Item ( _
    index As Integer _
) As T
    Get
    Set
public T this[
    int index
] { get; set; }
public:
virtual property T default[int index] {
    T get (int index) sealed;
    void set (int index, T value) sealed;
}
abstract Item : 'T with get, set
override Item : 'T with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: T
The role at the specified index in a collection of linked elements.

Implements

IList<T>.Item[Int32]

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace