Share via


CodeWriter.WriteSnippet 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 MustOverride Sub WriteSnippet ( _
    snippet As String _
)
'Usage
Dim instance As CodeWriter
Dim snippet As String

instance.WriteSnippet(snippet)
public abstract void WriteSnippet(
    string snippet
)
public:
virtual void WriteSnippet(
    String^ snippet
) abstract
public abstract function WriteSnippet(
    snippet : String
)

Parameters

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