共用方式為


SPMobileComponent.AllowView Method

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

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

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace