Compartilhar via


SPMobileComponent.AllowApprove Method

Gets a value indicating whether the current user has permission to approve items submitted to the specified list.

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

Syntax

'Declaration
Protected Overridable Function AllowApprove ( _
    item As SPList _
) As Boolean
'Usage
Dim item As SPList
Dim returnValue As Boolean

returnValue = Me.AllowApprove(item)
protected virtual bool AllowApprove(
    SPList item
)

Parameters

Return Value

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

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace