共用方式為


IVsOutputWindowPane2 Interface

Definition

Writes a string to the output window, and also creates an entry in the Error List.

public interface class IVsOutputWindowPane2
public interface class IVsOutputWindowPane2
__interface IVsOutputWindowPane2
[System.Runtime.InteropServices.Guid("4A65481B-49CF-4FCB-A891-32AE435EC941")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsOutputWindowPane2
[System.Runtime.InteropServices.Guid("4A65481B-49CF-4FCB-A891-32AE435EC941")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsOutputWindowPane2
[<System.Runtime.InteropServices.Guid("4A65481B-49CF-4FCB-A891-32AE435EC941")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsOutputWindowPane2 = interface
[<System.Runtime.InteropServices.Guid("4A65481B-49CF-4FCB-A891-32AE435EC941")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsOutputWindowPane2 = interface
Public Interface IVsOutputWindowPane2
Attributes

Remarks

This extends <xref:Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane.OutputTaskItemStringEx> by allowing the caller to supply column and project values, which are used to populate the corresponding columns in the Error List.

Methods

OutputTaskItemStringEx2(String, VSTASKPRIORITY, VSTASKCATEGORY, String, Int32, String, UInt32, UInt32, String, String, String)

Adds a string to the Output window and a corresponding item to the error list.

Applies to