Partager via


CodeDomProvider.CreateParser Méthode

Définition

Attention

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.

Attention

ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.

En cas de substitution dans une classe dérivée, crée un nouvel analyseur de code.

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 ();
[System.Obsolete("ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")]
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.")>]
abstract member CreateParser : unit -> System.CodeDom.Compiler.ICodeParser
override this.CreateParser : unit -> System.CodeDom.Compiler.ICodeParser
[<System.Obsolete("ICodeParser has been deprecated. Use the methods directly on the CodeDomProvider class instead. Classes inheriting from CodeDomProvider must still implement this interface, and should suppress this warning or also mark this method as obsolete.")>]
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
Public Overridable Function CreateParser () As ICodeParser

Retours

ICodeParser pouvant être utilisé pour analyser le code source. L'implémentation de base retourne toujours null.

Attributs

S’applique à