SPMobileComponent.AllowView 方法
获取一个值,该值指示当前用户是否有权查看指定的列表项。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overridable Function AllowView ( _
item As SPListItem _
) As Boolean
用法
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Me.AllowView(item)
protected virtual bool AllowView(
SPListItem item
)
参数
item
类型:Microsoft.SharePoint.SPListItem用户需要了解是否有权查看SPListItem对象。
返回值
类型:System.Boolean
true如果用户有权查看该项。否则为false。