SPMobileComponent.IsView 属性
获取一个值,该值指示页面是否列表视图中,而不是窗体或主页。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overridable ReadOnly Property IsView As Boolean
Get
用法
Dim instance As SPMobileComponent
Dim value As Boolean
value = instance.IsView
public virtual bool IsView { get; }
属性值
类型:System.Boolean
true如果页面列表视图 ;否则为false。
备注
默认实现返回MobileContext属性的IsView属性。使用,而不是Microsoft.SharePoint.Mobile.WebControls.SPMobileComponent.MobileContext.IsViewIsView简化您的代码。不会替代IsView或创建一个则它将获取一个值Microsoft.SharePoint.Mobile.WebControls.SPMobileComponent.MobileContext.IsView的值不一致的机会。