IFormattedLineSource.FormatLineInVisualBuffer(ITextSnapshotLine) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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.