This documentation is archived and is not being maintained.

CompilerResults.NativeCompilerReturnValue Property

Gets or sets the compiler's return value.

[Visual Basic]
Public Property NativeCompilerReturnValue As Integer
public int NativeCompilerReturnValue {get; set;}
public: __property int get_NativeCompilerReturnValue();
public: __property void set_NativeCompilerReturnValue(int);
public function get NativeCompilerReturnValue() : int;
public function set NativeCompilerReturnValue(int);

Property Value

The compiler's return value.


This property contains the numeric exit code returned by a command line compiler, if implemented. A value of 0 indicates success, while a non-zero value indicates failure.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CompilerResults Class | CompilerResults Members | System.CodeDom.Compiler Namespace