Compartilhar via


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

Return Value

Type: System.Boolean
true if the user has permission to add new items; otherwise, false.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace