CodeDomProvider.CreateParser Metoda

Definicja

Przestroga

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.

Przestroga

ICodeParser is obsolete

Gdy jest zastępowany w klasie pochodnej, tworzy nowy parser kodu.When overridden in a derived class, creates a new code parser.

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

Zwraca

ICodeParser

ICodeParser, Który może służyć do analizowania kodu źródłowego.An ICodeParser that can be used to parse source code. Podstawowa implementacja zawsze zwraca wartość null .The base implementation always returns null.

Atrybuty

Dotyczy