CodeGenerator.GenerateStatement(CodeStatement) 方法

定义

为指定的语句生成代码。Generates code for the specified statement.

protected:
 void GenerateStatement(System::CodeDom::CodeStatement ^ e);
protected void GenerateStatement (System.CodeDom.CodeStatement e);
member this.GenerateStatement : System.CodeDom.CodeStatement -> unit
Protected Sub GenerateStatement (e As CodeStatement)

参数

e
CodeStatement

为其生成代码的语句。The statement to generate code for.

例外

e 不是有效的 CodeStatemente is not a valid CodeStatement.

适用于

另请参阅