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
)

参数

返回值

类型:System.Boolean
true如果用户有权查看该项。否则为false。

另请参阅

引用

SPMobileComponent 类

SPMobileComponent 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间