CSharpCodeProvider.CreateCompiler-Methode
HINWEIS: Diese Methode ist mittlerweile veraltet.
Ruft eine Instanz des C#-Codecompilers ab.
Namespace: Microsoft.CSharp
Assembly: System (in system.dll)
Syntax
'Declaration
<ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")> _
Public Overrides Function CreateCompiler As ICodeCompiler
'Usage
Dim instance As CSharpCodeProvider
Dim returnValue As ICodeCompiler
returnValue = instance.CreateCompiler
[ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")]
public override ICodeCompiler CreateCompiler ()
[ObsoleteAttribute(L"Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")]
public:
virtual ICodeCompiler^ CreateCompiler () override
/** @attribute ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.") */
public ICodeCompiler CreateCompiler ()
ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")
public override function CreateCompiler () : ICodeCompiler
Rückgabewert
Eine Instanz der C#-Implementierung von ICodeCompiler.
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0
Siehe auch
Referenz
CSharpCodeProvider-Klasse
CSharpCodeProvider-Member
Microsoft.CSharp-Namespace
ICodeCompiler