Partager via


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

'Declaration
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

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

Microsoft.VisualStudio.TextManager.Interop Namespace