Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadControlBuilder Class / ProcessGeneratedCode Method
The root container of a CodeDOM graph of the control that is being built.
The base type of the page or user control that contains the control that is being built.
The derived type of the page or user control that contains the control that is being built.
The code that is used to build the control.
The code that is used to build the data-binding method of the control.


In This Topic
    ProcessGeneratedCode Method (SpreadControlBuilder)
    In This Topic
    Enables custom control builders to access the generated Code Document Object Model (CodeDom) and insert and modify code during the process of parsing and building controls.
    Syntax
    'Declaration
     
    
    Public Overrides Sub ProcessGeneratedCode( _
       ByVal codeCompileUnit As CodeCompileUnit, _
       ByVal baseType As CodeTypeDeclaration, _
       ByVal derivedType As CodeTypeDeclaration, _
       ByVal buildMethod As CodeMemberMethod, _
       ByVal dataBindingMethod As CodeMemberMethod _
    ) 
    'Usage
     
    
    Dim instance As SpreadControlBuilder
    Dim codeCompileUnit As CodeCompileUnit
    Dim baseType As CodeTypeDeclaration
    Dim derivedType As CodeTypeDeclaration
    Dim buildMethod As CodeMemberMethod
    Dim dataBindingMethod As CodeMemberMethod
     
    instance.ProcessGeneratedCode(codeCompileUnit, baseType, derivedType, buildMethod, dataBindingMethod)

    Parameters

    codeCompileUnit
    The root container of a CodeDOM graph of the control that is being built.
    baseType
    The base type of the page or user control that contains the control that is being built.
    derivedType
    The derived type of the page or user control that contains the control that is being built.
    buildMethod
    The code that is used to build the control.
    dataBindingMethod
    The code that is used to build the data-binding method of the control.
    See Also