Cette documentation est archivée et n’est pas conservée.

SPMobileComponent.IsView, propriété (Microsoft.SharePoint.MobileControls)

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

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public virtual bool IsView { get; }

Valeur de la propriété

true if the page is a list view; otherwise, false.

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 IsForm or you create a chance that it will get a value inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsView.

Afficher: