Udostępnij za pośrednictwem


CSharpCodeProvider.CreateGenerator Metoda

Definicja

Przestroga

Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.

Przestroga

ICodeGenerator has been deprecated. Use the methods directly on the CodeDomProvider class instead.

Pobiera wystąpienie generatora kodu języka C#.

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.")]
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.")>]
override this.CreateGenerator : unit -> System.CodeDom.Compiler.ICodeGenerator
[<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
Public Overrides Function CreateGenerator () As ICodeGenerator

Zwraca

Wystąpienie implementacji języka C# ICodeGenerator .

Atrybuty

Dotyczy

Zobacz też