SPMobileChoiceField.CreateControlForDisplay 方法
创建子Label控件呈现显示页面上呈现限制受字段的当前值。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overrides Function CreateControlForDisplay As Control
用法
Dim returnValue As Control
returnValue = Me.CreateControlForDisplay()
protected override Control CreateControlForDisplay()
返回值
类型:System.Web.UI.Control
MobileControl (具体而言, Label) 呈现该字段的当前值。
备注
如果域是多选字段,将显示最多为DisplaySelectionNumberLimit只将选定的选项。此外,如果它超出OptionTextLengthLimit截断任何给定的选项。