Partager via


FilteredObservableCollection<T>.Item Property

Gets the item at the specified location.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.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

    The location

Property Value

Type: T

Implements

IList.Item

Remarks

The setter of this property throws an InvalidOperationException.

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace