ListItemControlBuilder.AllowWhitespaceLiterals 方法

定義

判斷與 ListItem 關聯的文字內的泛空白字元 (White Space) 是否由 LiteralControl 物件表示。

public:
 override bool AllowWhitespaceLiterals();
public override bool AllowWhitespaceLiterals ();
override this.AllowWhitespaceLiterals : unit -> bool
Public Overrides Function AllowWhitespaceLiterals () As Boolean

傳回

所有情況下都是 false

備註

這個方法會覆寫 方法的繼承實作 ControlBuilder.AllowWhitespaceLiterals ,一律表示與控制項相關聯 ListItem 之文字中的空白字元不會以 System.Web.UI.LiteralControl 物件表示。

適用於

另請參閱