共用方式為


ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection 方法 (ITextSnapshotLine, ITextSnapshot)

建立文字和裝飾項目序列,以組成指定的 ITextSnapshotLine

命名空間:  Microsoft.VisualStudio.Text.Formatting
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Function CreateTextAndAdornmentCollection ( _
    topLine As ITextSnapshotLine, _
    sourceTextSnapshot As ITextSnapshot _
) As ITextAndAdornmentCollection
ITextAndAdornmentCollection CreateTextAndAdornmentCollection(
    ITextSnapshotLine topLine,
    ITextSnapshot sourceTextSnapshot
)
ITextAndAdornmentCollection^ CreateTextAndAdornmentCollection(
    ITextSnapshotLine^ topLine, 
    ITextSnapshot^ sourceTextSnapshot
)
abstract CreateTextAndAdornmentCollection : 
        topLine:ITextSnapshotLine * 
        sourceTextSnapshot:ITextSnapshot -> ITextAndAdornmentCollection
function CreateTextAndAdornmentCollection(
    topLine : ITextSnapshotLine, 
    sourceTextSnapshot : ITextSnapshot
) : ITextAndAdornmentCollection

參數

傳回值

類型:Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
包含文字和裝飾項目之 ISequenceElement 物件的標準化集合。

.NET Framework 安全性

請參閱

參考

ITextAndAdornmentSequencer 介面

CreateTextAndAdornmentCollection 多載

Microsoft.VisualStudio.Text.Formatting 命名空間