IVsIntellisenseHost.GetContextBuffer 方法
取得 IntelliSense 內容的緩衝區。
命名空間: 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
參數
ppCtxBuffer
類型:Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%[retval] out內容的緩衝區。
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
C++
從 singlefileeditor.idl:
HRESULT IVsIntellisenseHost::GetContextBuffer([out, retval] IVsTextLines **ppCtxBuffer);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。