CodeDomProvider.CreateParser Metodo

Definizione

Attenzione

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.

Quando sottoposto a override in una classe derivata, crea un nuovo parser di codice.

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

Valori restituiti

Oggetto ICodeParser che può essere usato per analizzare il codice sorgente. L'implementazione di base restituisce nullsempre .

Attributi

Si applica a