SPMobileUrlRedirection.DefaultPageFileName Property

NOTE: This API is now obsolete.

Gets (if the PageFileName property is not set) the file name of the page to which the mobile device should be redirected.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPMobileHomePageRedirection instead.")> _
Public ReadOnly Property DefaultPageFileName As String
    Get
'Usage
Dim instance As SPMobileUrlRedirection
Dim value As String

value = instance.DefaultPageFileName
[ObsoleteAttribute("Use SPMobileHomePageRedirection instead.")]
public string DefaultPageFileName { get; }

Property Value

Type: System.String
A String that specifies the default page to which a mobile device should be redirected if the PageFileName property is not set.

Remarks

In SharePoint Foundation DefaultPageFileName always returns "default.aspx".

See Also

Reference

SPMobileUrlRedirection Class

SPMobileUrlRedirection Members

Microsoft.SharePoint.MobileControls Namespace