LinePragmaCodeInfo::IsCodeNugget Property

 

Gets a value indicating whether the script block is located inside <% %> tags.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
property bool IsCodeNugget {
	bool get();
}

Property Value

Type: System::Boolean

true if the script block is contained inside <% %> tags; otherwise, false.

Code located within the <% %> tags is referred to as a "nugget".

.NET Framework
Available since 2.0
Return to top
Show: