Diagnostic.OutputId Property

Definition

Gets the identifier used to link the diagnostic to a line of text in the output window.

public:
 property Nullable<int> OutputId { Nullable<int> get(); };
[System.Runtime.Serialization.DataMember(Order=14)]
public int? OutputId { get; }
[<System.Runtime.Serialization.DataMember(Order=14)>]
member this.OutputId : Nullable<int>
Public ReadOnly Property OutputId As Nullable(Of Integer)

Property Value

Attributes

Remarks

Every diagnostic can be associated with a line of text in the build output window by settings its giving it a (guid, id) pair that corresponds the the (guid, id) pair used to write to the output pane (using IVsOutputWindowPane3.OutputStringWithId).

The guid for a diagnostic is specified by the OutputKey property of the collection that contains it.

Applies to