Partilhar via


SPMobileComponent.IsView Property

Gets a value that indicates whether the page is a list view, rather than a form or home page.

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

Syntax

'Declaration
Public Overridable ReadOnly Property IsView As Boolean
    Get
'Usage
Dim instance As SPMobileComponent
Dim value As Boolean

value = instance.IsView
public virtual bool IsView { get; }

Property Value

Type: System.Boolean
true if the page is a list view; otherwise, false.

Remarks

The default implementation returns the IsView property of the MobileContext property. Use IsView instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsView to simplify your code. Do not override IsView or you create a chance that it will get a value inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsView.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace