CSharpCodeProvider.CreateGenerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.
Caution
Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.
Gets an instance of the C# code generator.
public:
override System::CodeDom::Compiler::ICodeGenerator ^ CreateGenerator();
[System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")]
public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator ();
public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator ();
[System.Obsolete("Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.")]
public override System.CodeDom.Compiler.ICodeGenerator CreateGenerator ();
[<System.Obsolete("ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.")>]
override this.CreateGenerator : unit -> System.CodeDom.Compiler.ICodeGenerator
override this.CreateGenerator : unit -> System.CodeDom.Compiler.ICodeGenerator
[<System.Obsolete("Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.")>]
override this.CreateGenerator : unit -> System.CodeDom.Compiler.ICodeGenerator
Public Overrides Function CreateGenerator () As ICodeGenerator
Returns
An instance of the C# ICodeGenerator implementation.
- Attributes
Applies to
See also
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.