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

Windows SharePoint Services 3
Gets the type of current page.

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

public virtual PAGETYPE PageType { get; }

Valeur de la propriété

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

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.

Afficher: