次の方法で共有


IVsOutputWindowPane.FlushToTaskList Method

Causes any output messages that were added by means of a call to the OutputTaskItemString method to be added as tasks to the task list tool window.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function FlushToTaskList As Integer
'使用
Dim instance As IVsOutputWindowPane
Dim returnValue As Integer

returnValue = instance.FlushToTaskList()
int FlushToTaskList()
int FlushToTaskList()
function FlushToTaskList() : int

Return Value

Type: System.Int32

Remarks

This method is primarily used in reference to the Build Output pane. This method can be used to add build errors and warnings to the task list. Task items added to the TaskList by means of this method remain in the task list until the Output window is cleared.

Permissions

See Also

Reference

IVsOutputWindowPane Interface

IVsOutputWindowPane Members

Microsoft.VisualStudio.Shell.Interop Namespace