CodeDomProvider.CreateCompiler Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Atenção
Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.
Quando é sobreposto numa classe derivada, cria-se um novo compilador de código.
public:
abstract System::CodeDom::Compiler::ICodeCompiler ^ CreateCompiler();
public abstract System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
[System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.")]
public abstract System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
abstract member CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
[<System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.")>]
abstract member CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
Public MustOverride Function CreateCompiler () As ICodeCompiler
Devoluções
Um que pode ser usado para compilar System.CodeDom representações baseadas em ICodeCompiler código-fonte.
- Atributos
Observações
Este método está obsoleto. A alternativa recomendada é chamar os ICodeCompiler métodos diretamente disponíveis no fornecedor de código.
Notas para Implementadores
Deves implementar os ICodeCompiler membros da CodeDomProvider classe e lançar um NotSupportedException quando este método for chamado.