SPMobileBaseTextField.CreateControlForNew 方法

用于创建新列表项的页上,示返回为空字符串或使用默认值。

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

语法

声明
Protected Overrides Function CreateControlForNew As Control
用法
Dim returnValue As Control

returnValue = Me.CreateControlForNew()
protected override Control CreateControlForNew()

返回值

类型:System.Web.UI.Control
一个 MobileControl,具体而言,一个文本框,用于呈现在其中用户输入值的字段创建新的列表项时空文本框。

另请参阅

引用

SPMobileBaseTextField 类

SPMobileBaseTextField 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间