ListItemControlBuilder.AllowWhitespaceLiterals 方法

定义

确定与 ListItem 关联的文本中的空白是否由 LiteralControl 对象表示。Determines whether white spaces in the text associated with the ListItem are represented by LiteralControl objects.

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

返回

Boolean

所有情况下均为 falsefalse for all cases.

注解

此方法重写方法的继承实现 ControlBuilder.AllowWhitespaceLiterals ,以始终指示与控件关联的文本中的空白 ListItem 不由 System.Web.UI.LiteralControl 对象表示。This method overrides the inherited implementation of the ControlBuilder.AllowWhitespaceLiterals method to always indicate that white spaces in the text associated with the ListItem control are not represented by System.Web.UI.LiteralControl objects.

适用于

另请参阅