CodeBlockInfo.IsTopLevel Property

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

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

Syntax

'Declaration
Public Property IsTopLevel As Boolean
    Get
    Set
'Usage
Dim instance As CodeBlockInfo
Dim value As Boolean

value = instance.IsTopLevel

instance.IsTopLevel = value
public bool IsTopLevel { get; set; }
public:
property bool IsTopLevel {
    bool get ();
    void set (bool value);
}
function get IsTopLevel () : boolean
function set IsTopLevel (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

CodeBlockInfo Class

System.Web.Razor.Parser Namespace