編輯

共用方式為


ICodeParser.Parse(TextReader) Method

Definition

When implemented in a derived class, compiles the specified text stream into a CodeCompileUnit.

public:
 System::CodeDom::CodeCompileUnit ^ Parse(System::IO::TextReader ^ codeStream);
public System.CodeDom.CodeCompileUnit Parse (System.IO.TextReader codeStream);
abstract member Parse : System.IO.TextReader -> System.CodeDom.CodeCompileUnit
Public Function Parse (codeStream As TextReader) As CodeCompileUnit

Parameters

codeStream
TextReader

A TextReader that can be used to read the code to be compiled.

Returns

A CodeCompileUnit that contains a representation of the parsed code.

Applies to

See also