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

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

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

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

public virtual bool IsForm { get; }

Valeur de la propriété

true if the page is a form; otherwise, false.

The default implementation returns the IsForm property of the MobileContext property. Use IsForm instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsForm 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.IsForm.

Afficher: