共用方式為


IVsOutputWindowPane.Clear Method

Definition

Removes all text from the Output window pane.

public:
 int Clear();
public:
 int Clear();
int Clear();
public int Clear ();
abstract member Clear : unit -> int
Public Function Clear () As Integer

Returns

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

Remarks

This method works if the window pane is hidden.

Applies to