HostOutputProductionContext.AddOutput(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a host specific output
public void AddOutput (string name, object value);
member this.AddOutput : string * obj -> unit
Public Sub AddOutput (name As String, value As Object)
Parameters
- name
- String
The name of the output to be added.
- value
- Object
The output to be added.
Remarks
A host output has no defined use. It does not contribute to the final compilation in any way. Any outputs registered here are made available via the HostOutputs collection, and it is up the host to decide how to use them. A host may also disable these outputs altogether if they are not needed. The generator driver otherwise makes no guarantees about how the outputs are used, other than that they will be present if the host has requested they be produced.