SPMobileComponent.AllowNew 方法

获取一个值,该值指示当前用户是否有权创建新项为指定的列表。

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

语法

声明
Protected Overridable Function AllowNew ( _
    list As SPList _
) As Boolean
用法
Dim list As SPList
Dim returnValue As Boolean

returnValue = Me.AllowNew(list)
protected virtual bool AllowNew(
    SPList list
)

参数

返回值

类型:System.Boolean
true如果用户有权添加新项。否则为false。

另请参阅

引用

SPMobileComponent 类

SPMobileComponent 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间