Partilhar via


SPMobileComponent.AllowDelete Method

Gets a value indicating whether the current user has permission to delete the specified list item.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overridable Function AllowDelete ( _
    item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the user has permission to delete the item; otherwise, false.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace