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
topLine
Tipo: Microsoft.VisualStudio.Text.ITextSnapshotLineO ITextSnapshotLine a seqüência.
sourceTextSnapshot
Tipo: Microsoft.VisualStudio.Text.ITextSnapshotO ITextSnapshot da TopBuffer que corresponde a topLine.
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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.
Consulte também
Referência
ITextAndAdornmentSequencer Interface