共用方式為


IVsCodeWindow.SetBaseEditorCaption Method

Appends custom text to the editor caption

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Function SetBaseEditorCaption ( _
    pszBaseEditorCaption As String() _
) As Integer
'用途
Dim instance As IVsCodeWindow
Dim pszBaseEditorCaption As String()
Dim returnValue As Integer

returnValue = instance.SetBaseEditorCaption(pszBaseEditorCaption)
int SetBaseEditorCaption(
    string[] pszBaseEditorCaption
)
int SetBaseEditorCaption(
    [InAttribute] array<String^>^ pszBaseEditorCaption
)
abstract SetBaseEditorCaption : 
        pszBaseEditorCaption:string[] -> int 
function SetBaseEditorCaption(
    pszBaseEditorCaption : String[]
) : int

Parameters

  • pszBaseEditorCaption
    Type: array<System.String[]
    [in] Pointer to the base editor caption string.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsCodeWindow Interface

IVsCodeWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace