SPMobileComponent.AllowNew Method
Gets a value indicating whether the current user has permission to create new items for the specified list.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Function AllowNew ( _
list As SPList _
) As Boolean
'Usage
Dim list As SPList
Dim returnValue As Boolean
returnValue = Me.AllowNew(list)
protected virtual bool AllowNew(
SPList list
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe SPList object for which the user needs to know whether he or she has permission to add new items.
Return Value
Type: System.Boolean
true if the user has permission to add new items; otherwise, false.