共用方式為


IVsCodeWindow.SetBaseEditorCaption(String[]) Method

Definition

Appends custom text to the editor caption

public:
 int SetBaseEditorCaption(cli::array <System::String ^> ^ pszBaseEditorCaption);
public:
 int SetBaseEditorCaption(Platform::Array <Platform::String ^> ^ pszBaseEditorCaption);
int SetBaseEditorCaption(std::Array <std::wstring const &> const & pszBaseEditorCaption);
public int SetBaseEditorCaption (string[] pszBaseEditorCaption);
abstract member SetBaseEditorCaption : string[] -> int
Public Function SetBaseEditorCaption (pszBaseEditorCaption As String()) As Integer

Parameters

pszBaseEditorCaption
String[]

[in] Pointer to the base editor caption string.

Returns

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  
);  

Applies to