Condividi tramite


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)

Syntax

'Dichiarazione
Public Sub New ( _
    span As SnapshotSpan _
)
public NormalizedSnapshotSpanCollection(
    SnapshotSpan span
)
public:
NormalizedSnapshotSpanCollection(
    SnapshotSpan span
)
new : 
        span:SnapshotSpan -> NormalizedSnapshotSpanCollection
public function NormalizedSnapshotSpanCollection(
    span : SnapshotSpan
)

Parameters

Exceptions

Exception Condition
ArgumentException

span is not initialized.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

NormalizedSnapshotSpanCollection Overload

Microsoft.VisualStudio.Text Namespace