NormalizedSnapshotSpanCollection::Item Property (Int32)

 

Gets the snapshot span at the specified location.

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

public:
property SnapshotSpan default[
	int index
] {
	virtual SnapshotSpan get(int index) sealed;
	virtual void set(int index, SnapshotSpan value) sealed;
}

Parameters

index
Type: System::Int32

The location at which to get the snapshot span.

Property Value

Type: Microsoft.VisualStudio.Text::SnapshotSpan

The snapshot span.

The set accessor throws a NotSupportedException.

Return to top
Show: