CodeDomProvider.CreateCompiler (Método)
NOTA: este método ya está obsoleto.
Cuando se reemplaza en una clase derivada, crea un nuevo compilador de código. Espacio de nombres: System.CodeDom.CompilerEnsamblado: System (en system.dll)
[ObsoleteAttribute("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 ICodeCompiler CreateCompiler ()
/** @attribute ObsoleteAttribute("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 ICodeCompiler CreateCompiler ()
ObsoleteAttribute("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 function CreateCompiler () : ICodeCompiler
Valor devuelto
ICodeCompiler que puede utilizarse para la compilación de representaciones de código fuente basadas en el espacio de nombres System.CodeDom.Este método está obsoleto en Microsoft .NET Framework version 2.0. La alternativa recomendada es llamar a los métodos de ICodeCompiler, que están disponibles directamente en el proveedor de código.
Notas para los herederos En .NET Framework 2.0, debe implementar los miembros de ICodeCompiler en la clase CodeDomProvider e iniciar una excepción NotSupportedException cuando se llame a este método.Windows 98, Windows 2000 SP4, Windows Millennium, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter Edition
.NET Framework no admite todas las versiones de cada plataforma. Para obtener una lista de las versiones admitidas, vea Requisitos del sistema.
Contenido de la comunidad
Agregar