SPMobileDateTimeField.CreateControlAsLabel 方法

创建具有作为其文本字段的值的标签控件。

命名空间:  Microsoft.SharePoint.Mobile.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overrides Function CreateControlAsLabel As Label
用法
Dim returnValue As Label

returnValue = Me.CreateControlAsLabel()
protected override Label CreateControlAsLabel()

返回值

类型:Microsoft.SharePoint.Mobile.Controls.Label
MobileControl 呈现该字段作为 label 控件的值。

备注

通常情况下,将通过 CreateControlForDisplay 或 CreateControlForView 调用 CreateControlAsLabel。

另请参阅

引用

SPMobileDateTimeField 类

SPMobileDateTimeField 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间