Output Property

NAnt SDK Documentation - v0.92 |

# ExternalProgramBase.Output Property

Gets the file to which the standard output should be redirected.

[Visual Basic]
Overridable Public Property Output As FileInfo
[C#]
public virtual System.IO.FileInfo Output {get; set;}

#### Property Value

The file to which the standard output should be redirected, or a null reference (Nothing in Visual Basic) if the standard output should not be redirected.

#### Remarks

The default implementation will never allow the standard output to be redirected to a file. Deriving classes should override this property to change this behaviour.

#### See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace