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

Gets the type of current page.

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

Syntaxe

'Déclaration
Public Overridable ReadOnly Property PageType As PAGETYPE
'Utilisation
Dim instance As SPMobileComponent
Dim value As PAGETYPE

value = instance.PageType
public virtual PAGETYPE PageType { get; }

Valeur de la propriété

A PAGETYPE value that indicates the type of the current page.

Notes

The default implementation returns the same value as the PageType property of the object in the MobileContext property. Use PageType instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.PageType to simplify your code. Do not override PageType or you create a chance that its value will be inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.PageType.

Voir aussi

Référence

SPMobileComponent, classe
Membres SPMobileComponent
Microsoft.SharePoint.MobileControls, espace de noms