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