DropDownList.VerifyMultiSelect 方法

定义

始终引发 HttpException 异常,因为对于 DropDownList 控件不支持多选。Always throws an HttpException exception because multiple selection is not supported for the DropDownList control.

protected public:
 override void VerifyMultiSelect();
protected internal override void VerifyMultiSelect ();
override this.VerifyMultiSelect : unit -> unit
Protected Friend Overrides Sub VerifyMultiSelect ()

异常

在所有情况下。In all cases.

注解

控件不支持多重选择, 并HttpException引发异常。 DropDownListThe DropDownList control does not support multiple selections and throws an HttpException exception.

适用于