SPMobileBaseFieldControl.CreateControlAsLabel 方法
创建具有作为其文本字段的值的标签控件。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overridable Function CreateControlAsLabel As Label
用法
Dim returnValue As Label
returnValue = Me.CreateControlAsLabel()
protected virtual Label CreateControlAsLabel()
返回值
类型:Microsoft.SharePoint.Mobile.Controls.Label
呈现该字段作为 label 控件的值MobileControl 。
备注
通常情况下,将通过CreateControlForDisplay或CreateControlForView调用CreateControlAsLabel 。