Partager via


NormalizedSnapshotSpanCollection.IList.Item Property

Gets the snapshot span at the specified location.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Déclaration
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item
    Get
    Set
Object IList.this[
    int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
    Object^ get (int index) sealed = IList::Item::get;
    void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set
private override Item : Object with get, set
JScript does not support explicit interface implementations.

Parameters

Property Value

Type: System.Object
The snapshot span.

Implements

IList.Item[Int32]

Remarks

The set accessor throws a NotSupportedException.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace