LinePragmaCodeInfo.IsCodeNugget Property

Definition

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

public:
 property bool IsCodeNugget { bool get(); };
public bool IsCodeNugget { get; }
member this.IsCodeNugget : bool
Public ReadOnly Property IsCodeNugget As Boolean

Property Value

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

Remarks

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

Applies to

See also