ReadOnlyLinkedElementCollection<T>.Item Property

Gets or sets the role player at a specified index inside the collection.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As T
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 : 
        index:int -> 'T with get, set 
override Item : 
        index:int -> 'T with get, set
JScript does not support indexed properties.

Parameters

  • index
    Type: Int32

    Index of the role player.

Property Value

Type: T
The role player at the specified index.

Implements

IList.Item

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace