共用方式為


IVsTextBufferCoordinator.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

'宣告
Function GetSecondaryBuffer ( _
    <OutAttribute> ByRef ppBuffer As IVsTextLines _
) As Integer
int GetSecondaryBuffer(
    out IVsTextLines ppBuffer
)
int GetSecondaryBuffer(
    [OutAttribute] IVsTextLines^% ppBuffer
)
abstract GetSecondaryBuffer : 
        ppBuffer:IVsTextLines byref -> int 
function GetSecondaryBuffer(
    ppBuffer : IVsTextLines
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT GetSecondaryBuffer(
   [out] IVsTextLines **ppBuffer
);

.NET Framework Security

See Also

Reference

IVsTextBufferCoordinator Interface

Microsoft.VisualStudio.TextManager.Interop Namespace