SPMobileComponent.IsForm, propriété (Microsoft.SharePoint.MobileControls)
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)
Syntaxe
'Déclaration
Public Overridable ReadOnly Property IsForm As Boolean
'Utilisation
Dim instance As SPMobileComponent
Dim value As Boolean
value = instance.IsForm
public virtual bool IsForm { get; }
Valeur de la propriété
true if the page is a form; otherwise, false.
Notes
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.
Voir aussi
Référence
SPMobileComponent, classe
Membres SPMobileComponent
Microsoft.SharePoint.MobileControls, espace de noms