CheckBoxList.IRepeatInfoUser.HasSeparators 属性

定义

获取指示列表控件是否包含列表中项之间的分隔符的值。Gets a value that indicates whether the list control contains a separator between items in the list.

property bool System::Web::UI::WebControls::IRepeatInfoUser::HasSeparators { bool get(); };
bool System.Web.UI.WebControls.IRepeatInfoUser.HasSeparators { get; }
member this.System.Web.UI.WebControls.IRepeatInfoUser.HasSeparators : bool
 ReadOnly Property HasSeparators As Boolean Implements IRepeatInfoUser.HasSeparators

属性值

Boolean

如果列表控件包含分隔符,则为 true;否则为 falsetrue if the list control contains a separator; otherwise, false.

实现

注解

通常,应使用 CheckBoxList.HasSeparators 属性来确定 CheckBoxList 对象是否包含分隔符。Typically, you should use the CheckBoxList.HasSeparators property to determine whether a CheckBoxList object contains a separator.

CheckBoxList.IRepeatInfoUser.HasSeparators成员是显式接口成员实现。The CheckBoxList.IRepeatInfoUser.HasSeparators member is an explicit interface member implementation. 它只能在 CheckBoxList 实例被强制转换为 IRepeatInfoUser 接口时使用。It can be used only when the CheckBoxList instance is cast to an IRepeatInfoUser interface.

继承者说明

若要为对象中的成员定义自定义实现 IRepeatInfoUser.HasSeparators CheckBoxList ,请重写 HasSeparators 成员。To define a custom implementation for the IRepeatInfoUser.HasSeparators member in a CheckBoxList object, override the HasSeparators member. 显式接口实现使用 HasSeparators 属性。The explicit interface implementation uses the HasSeparators property.

适用于

另请参阅