VsTextBufferCoordinatorClass.GetSecondaryBuffer Method
Returns the secondary language buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaración
Public Overridable Function GetSecondaryBuffer ( _
<OutAttribute> ByRef ppBuffer As IVsTextLines _
) As Integer
public virtual int GetSecondaryBuffer(
out IVsTextLines ppBuffer
)
public:
virtual int GetSecondaryBuffer(
[OutAttribute] IVsTextLines^% ppBuffer
)
abstract GetSecondaryBuffer :
ppBuffer:IVsTextLines byref -> int
override GetSecondaryBuffer :
ppBuffer:IVsTextLines byref -> int
public function GetSecondaryBuffer(
ppBuffer : IVsTextLines
) : int
Parameters
- ppBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%
[out] Returns an IVsTextLines object that represents the secondary buffer.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsTextBufferCoordinator.GetSecondaryBuffer(IVsTextLines%)
.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.