System.CodeDom.Compiler.CompilerResults Class

Assembly: System.dll
Namespace: System.CodeDom.Compiler
Summary
Represents the results of compilation that are returned from the compiler.
C# Syntax:
public class CompilerResults
Remarks
This class encapsulates the result information returned after compilation by the ICodeCompiler interface.
See also:
System.CodeDom.Compiler Namespace | ICodeCompiler

System.CodeDom.Compiler.CompilerResults Member List:

Public Constructors
ctor #1 Initializes a new instance of the CompilerResults class that uses the specified temporary files.
Public Properties
CompiledAssembly Read-write

Gets or sets the compiled assembly.
Errors Read-only

Gets the collection of compiler errors and warnings.
NativeCompilerReturnValue Read-write

Gets or sets the compiler's return value.
Output Read-only

Gets the compiler output messages.
PathToAssembly Read-write

Gets or sets the path of the compiled assembly.
TempFiles Read-write

Gets or sets the temporary files to use.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.CodeDom.Compiler.CompilerResults Member Details

ctor #1
Summary
Initializes a new instance of the CompilerResults class that uses the specified temporary files.
C# Syntax:
public CompilerResults(
   TempFileCollection tempFiles
);
Parameters:

tempFiles

A TempFileCollection that indicates the temporary files to use.

See also:
TempFileCollection

Return to top


Property: CompiledAssembly (read-write)
Summary
Gets or sets the compiled assembly.
C# Syntax:
public Assembly CompiledAssembly {get; set;}
See also:
Assembly

Return to top


Property: Errors (read-only)
Summary
Gets the collection of compiler errors and warnings.
C# Syntax:
public CompilerErrorCollection Errors {get;}
See also:
CompilerErrorCollection

Return to top


Property: NativeCompilerReturnValue (read-write)
Summary
Gets or sets the compiler's return value.
C# Syntax:
public int NativeCompilerReturnValue {get; set;}
Remarks
This is the numeric exit code returned by a command line compiler, if appropriate. A value of 0 indicates success, while a non-zero value indicates failure.

Return to top


Property: Output (read-only)
Summary
Gets the compiler output messages.
C# Syntax:
public StringCollection Output {get;}
See also:
StringCollection

Return to top


Property: PathToAssembly (read-write)
Summary
Gets or sets the path of the compiled assembly.
C# Syntax:
public string PathToAssembly {get; set;}

Return to top


Property: TempFiles (read-write)
Summary
Gets or sets the temporary files to use.
C# Syntax:
public TempFileCollection TempFiles {get; set;}
See also:
TempFileCollection

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~CompilerResults();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.