Partilhar via


Método ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection (SnapshotSpan, ITextSnapshot)

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

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

Sintaxe

'Declaração
Function CreateTextAndAdornmentCollection ( _
    topSpan As SnapshotSpan, _
    sourceTextSnapshot As ITextSnapshot _
) As ITextAndAdornmentCollection
ITextAndAdornmentCollection CreateTextAndAdornmentCollection(
    SnapshotSpan topSpan,
    ITextSnapshot sourceTextSnapshot
)
ITextAndAdornmentCollection^ CreateTextAndAdornmentCollection(
    SnapshotSpan topSpan, 
    ITextSnapshot^ sourceTextSnapshot
)
abstract CreateTextAndAdornmentCollection : 
        topSpan:SnapshotSpan * 
        sourceTextSnapshot:ITextSnapshot -> ITextAndAdornmentCollection
function CreateTextAndAdornmentCollection(
    topSpan : SnapshotSpan, 
    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