共用方式為


ParseRecorder.ProcessGeneratedCode 方法

定義

在衍生類別中實作時,可讓剖析錄製器存取產生的 CodeDom 並插入及修改程式碼。

public:
 virtual void ProcessGeneratedCode(System::Web::UI::ControlBuilder ^ builder, System::CodeDom::CodeCompileUnit ^ codeCompileUnit, System::CodeDom::CodeTypeDeclaration ^ baseType, System::CodeDom::CodeTypeDeclaration ^ derivedType, System::CodeDom::CodeMemberMethod ^ buildMethod, System::CodeDom::CodeMemberMethod ^ dataBindingMethod);
public virtual void ProcessGeneratedCode (System.Web.UI.ControlBuilder builder, System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.CodeTypeDeclaration baseType, System.CodeDom.CodeTypeDeclaration derivedType, System.CodeDom.CodeMemberMethod buildMethod, System.CodeDom.CodeMemberMethod dataBindingMethod);
abstract member ProcessGeneratedCode : System.Web.UI.ControlBuilder * System.CodeDom.CodeCompileUnit * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> unit
override this.ProcessGeneratedCode : System.Web.UI.ControlBuilder * System.CodeDom.CodeCompileUnit * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> unit
Public Overridable Sub ProcessGeneratedCode (builder As ControlBuilder, codeCompileUnit As CodeCompileUnit, baseType As CodeTypeDeclaration, derivedType As CodeTypeDeclaration, buildMethod As CodeMemberMethod, dataBindingMethod As CodeMemberMethod)

參數

builder
ControlBuilder

控制項產生器。

codeCompileUnit
CodeCompileUnit

程式碼編譯單位。

baseType
CodeTypeDeclaration

程式碼型別宣告基底類型。

derivedType
CodeTypeDeclaration

程式碼型別宣告衍生類型。

buildMethod
CodeMemberMethod

建置方法。

dataBindingMethod
CodeMemberMethod

資料繫結方法。

適用於