IFormattedLineSource.FormatLineInVisualBuffer(ITextSnapshotLine) Méthode

Définition

Met en forme le texte et les ornements dans un ITextSnapshotLine.

public:
 System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Text::Formatting::IFormattedLine ^> ^ FormatLineInVisualBuffer(Microsoft::VisualStudio::Text::ITextSnapshotLine ^ visualLine);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.Formatting.IFormattedLine> FormatLineInVisualBuffer (Microsoft.VisualStudio.Text.ITextSnapshotLine visualLine);
abstract member FormatLineInVisualBuffer : Microsoft.VisualStudio.Text.ITextSnapshotLine -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.Formatting.IFormattedLine>
Public Function FormatLineInVisualBuffer (visualLine As ITextSnapshotLine) As Collection(Of IFormattedLine)

Paramètres

visualLine
ITextSnapshotLine

Ligne à mettre en forme.

Retours

Collection<IFormattedLine>

Texte mis en forme pour cette ligne.

Remarques

IFormattedLine les objets sont IDisposable . L’appelant doit appeler explicitement dispose () sur les lignes retournées quand elles en ont terminé avec eux.

Le fourni ITextSnapshotLine doit appartenir à l’instantané de la mémoire tampon visuelle, puisque les visuels se trouvent sur cette mémoire tampon.

S’applique à