NormalizedSnapshotSpanCollection Constructor (SnapshotSpan)

 

Initializes a new instance of a NormalizedSnapshotSpanCollection with a single element.

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

public:
NormalizedSnapshotSpanCollection(
	SnapshotSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The single member of the collection.

Exception Condition
ArgumentException

span is not initialized.

Return to top
Show: