IVsTextViewEvents.OnSetBuffer, méthode

Avertit un client lorsqu'une vue est jointe à une nouvelle mémoire tampon.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Sub OnSetBuffer ( _
    pView As IVsTextView, _
    pBuffer As IVsTextLines _
)
void OnSetBuffer(
    IVsTextView pView,
    IVsTextLines pBuffer
)
void OnSetBuffer(
    [InAttribute] IVsTextView^ pView, 
    [InAttribute] IVsTextLines^ pBuffer
)
abstract OnSetBuffer : 
        pView:IVsTextView * 
        pBuffer:IVsTextLines -> unit
function OnSetBuffer(
    pView : IVsTextView, 
    pBuffer : IVsTextLines
)

Paramètres

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextViewEvents::OnSetBuffer(
   [in] IVsTextView *pView,
   [in] IVsTextLines *pBuffer
);

Le nombre de références n'est pas incrémenté lorsque vous obtenez un pointeur à IVsTextView et à IVsTextLines ; si vous souhaitez le conserver, appelez AddRef sur manière explicite.

Sécurité .NET Framework

Voir aussi

Référence

IVsTextViewEvents Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms