创建一个控件呈现选择列表,其中包含的呈现限制,这通过将OptionNumberLimit属性设置的所有选项。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overrides Function CreateChoiceControl As Control
用法
Dim returnValue As Control
returnValue = Me.CreateChoiceControl()
protected override Control CreateChoiceControl()
返回值
类型:System.Web.UI.Control
一个MobileControl对象,可以从中选择有限列表中的多个选项。
备注
通常情况下,在CreateControlForNew和CreateControlForEdit方法通过调用CreateChoiceControl方法。