RazorCodeGenerator.InTemplate Property

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
Protected Friend Property InTemplate As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.InTemplate

Me.InTemplate = value
protected internal bool InTemplate { get; set; }
protected public:
property bool InTemplate {
    bool get ();
    void set (bool value);
}
function get InTemplate () : boolean
function set InTemplate (value : boolean)

Property Value

Type: System.Boolean

Permissions

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

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace