NormalizedSnapshotSpanCollection.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
'Declaração
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 : SnapshotSpan with get, set
override Item : SnapshotSpan with get, set
JScript does not support indexed properties.
Parameters
- index
Type: System.Int32
The location at which to get the snapshot span.
Property Value
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The snapshot span.
Implements
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.