System.CodeDom.Compiler.CodeDomProvider.CreateGenerator Method

When overridden in a derived class, creates a new code generator.

Syntax

[System.Obsolete("ICodeGenerator is obsolete")]
public abstract ICodeGenerator CreateGenerator ()

Returns

An System.CodeDom.Compiler.ICodeGenerator that can be used to generate System.CodeDom based source code representations.

Remarks

This method is obsolete in the dnprdnext. The recommended alternative is to call the System.CodeDom.Compiler.ICodeGenerator methods that are directly available in the System.CodeDom.Compiler.CodeDomProvider class.

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0