System.CodeDom.Compiler.CompilerInfo.CreateProvider Method

Returns a System.CodeDom.Compiler.CodeDomProvider instance for the current language provider settings.

Syntax

public CodeDomProvider CreateProvider ()

Returns

A CodeDOM provider associated with the language provider configuration.

Remarks

The CompilerInfo.CreateProvider method returns a System.CodeDom.Compiler.CodeDomProvider instance for the current language provider settings.

Use the CompilerInfo.CreateProvider method to get a System.CodeDom.Compiler.CodeDomProvider implementation for a System.CodeDom.Compiler.CompilerInfo instance returned by the CodeDomProvider.GetAllCompilerInfo or CodeDomProvider.GetCompilerInfo(string) method.

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0