Partilhar via


Método ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection (ITextSnapshotLine, ITextSnapshot)

Cria uma seqüência de texto e adorno elementos que compõem o especificado ITextSnapshotLine.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (em Microsoft.VisualStudio.Text.UI.dll)

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
Um conjunto normalizado de ISequenceElement objetos que contêm os elementos de texto e de adorno.

Segurança do .NET Framework

Consulte também

Referência

ITextAndAdornmentSequencer Interface

Sobrecargas CreateTextAndAdornmentCollection

Namespace Microsoft.VisualStudio.Text.Formatting