VsCodeWindowClass.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
'宣告
Public Overridable Function SetBaseEditorCaption ( _
pszBaseEditorCaption As String() _
) As Integer
public virtual int SetBaseEditorCaption(
string[] pszBaseEditorCaption
)
public:
virtual int SetBaseEditorCaption(
[InAttribute] array<String^>^ pszBaseEditorCaption
)
abstract SetBaseEditorCaption :
pszBaseEditorCaption:string[] -> int
override SetBaseEditorCaption :
pszBaseEditorCaption:string[] -> int
public 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.
Implements
IVsCodeWindow.SetBaseEditorCaption(array<String[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.