AssignMainFunction Method
 
            
                In This Topic
            
            Converts auxiliary function into main function.
            
            
            Syntax
            
        
            Parameters
- pFunction
 
- Function will be assigned the "Main function" property. Can't be 
null or transient. - bOverwriteEmptyPropsWithFilledProps
 
- If 
true then properties of old main function that contain value are transfered to properties on new main function that contain no value. - bOverwriteFilledPropsWithEmptyProps
 
- If 
true then properties of old main function that contain no value removes existing properties on new main function. 
            
             
            Exceptions
            
            
            
            
            
            
            
            
            
            See Also