Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Notifies a client when a view is attached to a new buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
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
)
Parameters
pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] Pointer to the IVsTextView interface.
pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] Pointer to the IVsTextLines interface.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextViewEvents::OnSetBuffer(
[in] IVsTextView *pView,
[in] IVsTextLines *pBuffer
);
The reference count is not incremented when you obtain a pointer to IVsTextView and IVsTextLines; if you want to keep it, call AddRef on them explicitly.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.