IVsTextLineMarker.GetLineBuffer, méthode
Permet d'accéder à une mémoire tampon de texte associée.
Espace de noms : Microsoft.VisualStudio.TextManager.Interop
Assembly : Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)
Syntaxe
'Déclaration
Function GetLineBuffer ( _
<OutAttribute> ByRef ppBuffer As IVsTextLines _
) As Integer
int GetLineBuffer(
out IVsTextLines ppBuffer
)
int GetLineBuffer(
[OutAttribute] IVsTextLines^% ppBuffer
)
abstract GetLineBuffer :
ppBuffer:IVsTextLines byref -> int
function GetLineBuffer(
ppBuffer : IVsTextLines
) : int
Paramètres
ppBuffer
Type : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%[out] pointeur à l'interface d'IVsTextLines de la mémoire tampon associée.
Valeur de retour
Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.
Notes
Signature de COM
De textmgr.idl :
HRESULT IVsTextLineMarker::GetLineBuffer(
[out] IVsTextLines **ppBuffer
);
Cette méthode peut être utilisée pour obtenir l'objet sous-jacent d'IVsTextLines qui contient la marque.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.