SPMobileComponent.AllowEdit 方法

获取一个值,该值指示当前用户是否有权编辑指定的列表项。

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

语法

声明
Protected Overridable Function AllowEdit ( _
    item As SPListItem _
) As Boolean
用法
Dim item As SPListItem
Dim returnValue As Boolean

returnValue = Me.AllowEdit(item)
protected virtual bool AllowEdit(
    SPListItem item
)

参数

返回值

类型:System.Boolean
true如果用户有权编辑项目 ;否则为false。

另请参阅

引用

SPMobileComponent 类

SPMobileComponent 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间