CSharpCodeProvider.CreateGenerator Method ()

 
Note: This API is now obsolete.

Gets an instance of the C# code generator.

Namespace:   Microsoft.CSharp
Assembly:  System (in System.dll)

[ObsoleteAttribute("Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.")]
public override ICodeGenerator CreateGenerator()

Return Value

Type: System.CodeDom.Compiler.ICodeGenerator

An instance of the C# ICodeGenerator implementation.

.NET Framework
Available since 1.1
Return to top
Show: