共用方式為


NormalizedSnapshotSpanCollection.Item[Int32] Property

Definition

Gets the snapshot span at the specified location. The setter throws a NotSupportedException.

public:
 property Microsoft::VisualStudio::Text::SnapshotSpan default[int] { Microsoft::VisualStudio::Text::SnapshotSpan get(int index); void set(int index, Microsoft::VisualStudio::Text::SnapshotSpan value); };
public Microsoft.VisualStudio.Text.SnapshotSpan this[int index] { get; set; }
member this.Item(int) : Microsoft.VisualStudio.Text.SnapshotSpan with get, set
Default Public Property Item(index As Integer) As SnapshotSpan

Parameters

index
Int32

The location at which to get the snapshot span.

Property Value

The snapshot span.

Implements

Remarks

The set accessor throws a NotSupportedException.

Applies to