Bewerken

Share via


ActivityCodeGenerator.GenerateCode(CodeGenerationManager, Object) Method

Definition

Generates code for the specified Object using the specific CodeGenerationManager.

public:
 virtual void GenerateCode(System::Workflow::ComponentModel::Compiler::CodeGenerationManager ^ manager, System::Object ^ obj);
public virtual void GenerateCode (System.Workflow.ComponentModel.Compiler.CodeGenerationManager manager, object obj);
abstract member GenerateCode : System.Workflow.ComponentModel.Compiler.CodeGenerationManager * obj -> unit
override this.GenerateCode : System.Workflow.ComponentModel.Compiler.CodeGenerationManager * obj -> unit
Public Overridable Sub GenerateCode (manager As CodeGenerationManager, obj As Object)

Parameters

manager
CodeGenerationManager

The CodeGenerationManager to use in the code generation.

obj
Object

The Object to generate the code for.

Exceptions

manager is a null reference (Nothing in Visual Basic).

-or-

obj is a null reference (Nothing).

obj cannot be cast to type Activity.

Applies to