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 命名空间