共用方式為


NormalizedSnapshotSpanCollection Constructor (ITextSnapshot, IList<Span>)

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

Syntax

'宣告
Public Sub New ( _
    snapshot As ITextSnapshot, _
    spans As IList(Of Span) _
)
public NormalizedSnapshotSpanCollection(
    ITextSnapshot snapshot,
    IList<Span> spans
)
public:
NormalizedSnapshotSpanCollection(
    ITextSnapshot^ snapshot, 
    IList<Span>^ spans
)
new : 
        snapshot:ITextSnapshot * 
        spans:IList<Span> -> NormalizedSnapshotSpanCollection
public function NormalizedSnapshotSpanCollection(
    snapshot : ITextSnapshot, 
    spans : IList<Span>
)

Parameters

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

NormalizedSnapshotSpanCollection Overload

Microsoft.VisualStudio.Text Namespace