Share via


CodeGeneratorContext.AddDesignTimeHelperStatement Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a code statement that inserts the Razor design time helpers method in the specified code statement.

public void AddDesignTimeHelperStatement (System.CodeDom.CodeSnippetStatement statement);
member this.AddDesignTimeHelperStatement : System.CodeDom.CodeSnippetStatement -> unit
Public Sub AddDesignTimeHelperStatement (statement As CodeSnippetStatement)

Parameters

statement
CodeSnippetStatement

The code statement that receives the code insertion.

Applies to