共用方式為


IVsTextViewEx.GetWindowFrame 方法

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

語法

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

參數

  • ppFrame
    類型:Object%

    [out]

傳回值

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

備註

COM 簽章

從 textmgr2.idl:

HRESULT IVsTextViewEx::GetWindowFrame(
   [out]IUnknown ** ppFrame
);

.NET Framework 安全性

請參閱

參考

IVsTextViewEx 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間