Gets the snapshot span at the specified location.
Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Default Property Item ( _
    index As Integer _
) As SnapshotSpan
public SnapshotSpan this[
    int index
] { get; set; }
public:
virtual property SnapshotSpan default[int index] {
    SnapshotSpan get (int index) sealed;
    void set (int index, SnapshotSpan value) sealed;
}
abstract Item : 
        index:int -> SnapshotSpan with get, set 
override Item : 
        index:int -> SnapshotSpan with get, set
JScript does not support indexed properties.
Parameters
index
Type: Int32The location at which to get the snapshot span.
Property Value
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The snapshot span.
Implements
IList.Item
Remarks
The set accessor throws a NotSupportedException.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.