Share via


CodeWriter.ToStatement Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.Razor.Generator
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Function ToStatement As CodeSnippetStatement
'Usage
Dim instance As CodeWriter
Dim returnValue As CodeSnippetStatement

returnValue = instance.ToStatement()
public CodeSnippetStatement ToStatement()
public:
CodeSnippetStatement^ ToStatement()
public function ToStatement() : CodeSnippetStatement

Return Value

Type: System.CodeDom.CodeSnippetStatement

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

CodeWriter Class

System.Web.Razor.Generator Namespace