CodeDomProvider.CreateParser Method



This API is now obsolete.

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

 virtual System::CodeDom::Compiler::ICodeParser ^ CreateParser();
[System.Obsolete("ICodeParser is obsolete")]
[System.Obsolete("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 System.CodeDom.Compiler.ICodeParser CreateParser ();
abstract member CreateParser : unit -> System.CodeDom.Compiler.ICodeParser
override this.CreateParser : unit -> System.CodeDom.Compiler.ICodeParser
Public Overridable Function CreateParser () As ICodeParser


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


Applies to