CreateParser Method

CodeDomProvider.CreateParser Method ()

Note: This API is now obsolete.

When overridden in a derived class, creates a new code parser.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

[ObsoleteAttribute("Callers should not use the ICodeParser 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 virtual ICodeParser CreateParser()

Return Value

Type: System.CodeDom.Compiler.ICodeParser

An ICodeParser that can be used to parse source code. The base implementation always returns null.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft