Share via


IVsOutputWindowPane.SetName(String) Method

Definition

Changes the existing name of the window pane.

public:
 int SetName(System::String ^ pszPaneName);
public:
 int SetName(Platform::String ^ pszPaneName);
int SetName(std::wstring const & pszPaneName);
public int SetName (string pszPaneName);
abstract member SetName : string -> int
Public Function SetName (pszPaneName As String) As Integer

Parameters

pszPaneName
String

[in] New name of the window pane.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutputWindowPane::SetName(  
   LPCOLESTR pszPaneName  
);  

Applies to