다음을 통해 공유


CodeDomProvider.CreateParser 메서드

정의

주의

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.

주의

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();
[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

반환

소스 코드를 구문 분석하는 데 사용할 수 있는 ICodeParser입니다. 기본 구현은 항상 null를 반환합니다.

특성

적용 대상