語言

LinePragmaCodeInfo.IsCodeNugget 屬性

定義

會取得一個值,表示腳本區塊是否位於 <% %> 標籤內。

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

屬性值

true 如果腳本區塊包含在 <% %> 標籤中;否則, false。

備註

位於% %< 標籤中的>程式碼稱為「nugget」。

適用於

另請參閱