CodeDomProvider.CreateParser Methode

Definition

Achtung

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.

Wenn sie in einer abgeleiteten Klasse überschrieben wird, wird ein neuer Codeparser erstellt.

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

Gibt zurück

Ein ICodeParser Code, der zum Analysieren des Quellcodes verwendet werden kann. Die Basisimplementierung gibt immer zurück null.

Attribute

Gilt für: