共用方式為


IVsTextViewIntellisenseHost.GetContextBuffer 方法

內容的緩衝區。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop.8.0 (在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

語法

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

參數

傳回值

類型:Int32
如果此方法成功,則會傳回 NativeMethods.S_OK。如果失敗,它就會傳回錯誤碼。

備註

從 singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetContextBuffer([out, retval] IVsTextLines **ppCtxBuffer);

.NET Framework 安全性

請參閱

參考

IVsTextViewIntellisenseHost 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間