Export (0) Print
Expand All

CSharpCodeProvider Class

Provides access to instances of the C# code generator and code compiler.

For a list of all members of this type, see CSharpCodeProvider Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.CodeDom.Compiler.CodeDomProvider
            Microsoft.CSharp.CSharpCodeProvider

[Visual Basic]
Public Class CSharpCodeProvider
   Inherits CodeDomProvider
[C#]
public class CSharpCodeProvider : CodeDomProvider
[C++]
public __gc class CSharpCodeProvider : public CodeDomProvider
[JScript]
public class CSharpCodeProvider extends CodeDomProvider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This interface provides methods that can be used to retrieve instances of the C# ICodeGenerator and ICodeCompiler implementations.

Requirements

Namespace: Microsoft.CSharp

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

Assembly: System (in System.dll)

See Also

CSharpCodeProvider Members | Microsoft.CSharp Namespace | ICodeGenerator | ICodeCompiler | System.CodeDom | System.CodeDom.Compiler

Show:
© 2014 Microsoft