SPPageStateControl.EnsureItemSavedIfEditMode 方法 (String)

可确保如果它是必需的并指定事件参数,将项目保存到服务器。

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

语法

声明
Public Function EnsureItemSavedIfEditMode ( _
    eventArgument As String _
) As Boolean
用法
Dim instance As SPPageStateControl
Dim eventArgument As String
Dim returnValue As Boolean

returnValue = instance.EnsureItemSavedIfEditMode(eventArgument)
public bool EnsureItemSavedIfEditMode(
    string eventArgument
)

参数

  • eventArgument
    类型:System.String

    一个包含事件参数的字符串。

返回值

类型:System.Boolean
保存true以确保项目 ;否则为false。

另请参阅

引用

SPPageStateControl 类

SPPageStateControl 成员

EnsureItemSavedIfEditMode 重载

Microsoft.SharePoint.WebControls 命名空间