This documentation is archived and is not being maintained.

OutputType Property

Visual Studio .NET 2003

Returns or sets the type of the output file. Three output types are supported: Windows application, console application, and class library.

[Visual Basic .NET]
Public Property OutputType() As prjOutputType
[Visual Basic 6]
Property Get OutputType() As prjOutputType
Property Let OutputType( _
   ByVal FileType As prjOutputType _
HRESULT __stdcall get_OutputType(
   /* [out, retval] */ prjOutputType* retVal
HRESULT __stdcall put_OutputType(
   /* [in] */ prjOutputType FileType
prjOutputType OutputType {get; set;}
[JScript .NET]
public function get OutputType() : prjOutputType
public function set OutputType(
   FileType: prjOutputType


A prjOutputType enumeration value.


The value of OutputType is set by the project system when a new project is created. The default settings are described in the following table.

Project typeOutput valueDescription
Windows ApplicationprjOutputTypeWinExeWindows executable file
Console applicationprjOutputTypeExeExecutable file
All other projectsprjOutputTypeLibraryClass library


See ProjectType Property.

See Also

General, Common Properties, <Projectname> Property Pages Dialog Box (Visual C#) | General, Common Properties, <Projectname> Property Pages Dialog Box (Visual Basic) | /target (Visual Basic) | /target (Specify Output File Format) (Visual C#)

Applies To: Properties Property (General Extensibility) | Properties Property (Visual Basic and Visual C# Project Object)