CodeGeneratorContext.AddStatement Method

Include Protected Members
Include Inherited Members

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method 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 method 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.

Top

See Also

Reference

CodeGeneratorContext Class

System.Web.Razor.Generator Namespace