RazorCodeGenerator.BlockContext.HasContent 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
Public Property HasContent As Boolean
    Get
    Set
'Usage
Dim instance As RazorCodeGenerator..::..BlockContext
Dim value As Boolean

value = instance.HasContent

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

System.Web.Razor.Generator Namespace