共用方式為


IVsCodeWindow.SetBaseEditorCaption 方法

將自訂的文字附加至編輯器標題

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

語法

'宣告
Function SetBaseEditorCaption ( _
    pszBaseEditorCaption As String() _
) As Integer
int SetBaseEditorCaption(
    string[] pszBaseEditorCaption
)
int SetBaseEditorCaption(
    [InAttribute] array<String^>^ pszBaseEditorCaption
)
abstract SetBaseEditorCaption : 
        pszBaseEditorCaption:string[] -> int
function SetBaseEditorCaption(
    pszBaseEditorCaption : String[]
) : int

參數

  • pszBaseEditorCaption
    類型:array<String[]

    [in]基底的編輯器標題字串的指標。

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsCodeWindow::SetBaseEditorCaption(
   [in] LPCOLESTR *pszBaseEditorCaption
);

.NET Framework 安全性

請參閱

參考

IVsCodeWindow 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間