CodeGeneratorContext.AddStatement CodeGeneratorContext.AddStatement CodeGeneratorContext.AddStatement Method

Definition

Overloads

AddStatement(String) AddStatement(String) AddStatement(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method.

AddStatement(String, CodeLinePragma) AddStatement(String, CodeLinePragma) AddStatement(String, CodeLinePragma)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method.

AddStatement(String) AddStatement(String) AddStatement(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method.

public void AddStatement (string generatedCode);
member this.AddStatement : string -> unit
Public Sub AddStatement (generatedCode As String)
Parameters
generatedCode
String String String

The code statement to add the target method.

AddStatement(String, CodeLinePragma) AddStatement(String, CodeLinePragma) AddStatement(String, CodeLinePragma)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method.

public void AddStatement (string body, System.CodeDom.CodeLinePragma pragma);
member this.AddStatement : string * System.CodeDom.CodeLinePragma -> unit
Public Sub AddStatement (body As String, pragma As CodeLinePragma)
Parameters
body
String String String

The code statement to add the target method.

pragma
CodeLinePragma CodeLinePragma CodeLinePragma

The line pragma.

Applies to