Condividi tramite


NormalizedSnapshotSpanCollection Constructor

Include Protected Members
Include Inherited Members

Initializes a NormalizedSnapshotSpanCollection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method NormalizedSnapshotSpanCollection() Initializes an empty NormalizedSnapshotSpanCollection.
Public method NormalizedSnapshotSpanCollection(SnapshotSpan) Initializes a new instance of a NormalizedSnapshotSpanCollection with a single element.
Public method NormalizedSnapshotSpanCollection(IEnumerable<SnapshotSpan>) Initializes a new instance of a NormalizedSnapshotSpanCollection from a list of SnapshotSpan objects.
Public method NormalizedSnapshotSpanCollection(IList<SnapshotSpan>) Initializes a new instance of a NormalizedSnapshotSpanCollection from a list of Span objects.
Public method NormalizedSnapshotSpanCollection(ITextSnapshot, NormalizedSpanCollection) Initializes a new instance of a NormalizedSnapshotSpanCollection from a NormalizedSpanCollection and a ITextSnapshot.
Public method NormalizedSnapshotSpanCollection(ITextSnapshot, IEnumerable<Span>) Initializes a new instance of a NormalizedSnapshotSpanCollection from a list of Span objects and a ITextSnapshot.
Public method NormalizedSnapshotSpanCollection(ITextSnapshot, IList<Span>) Initializes a new instance of a NormalizedSnapshotSpanCollection from a NormalizedSpanCollection and a ITextSnapshot.

Top

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace