Partilhar via


SPMobileUrlRedirection.OnInit Method

NOTE: This API is now obsolete.

Represents the method that handles the Init event.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPMobileHomePageRedirection instead.")> _
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnInit(e)
[ObsoleteAttribute("Use SPMobileHomePageRedirection instead.")]
protected override void OnInit(
    EventArgs e
)

Parameters

Remarks

This override redirects the mobile device to Url.

See Also

Reference

SPMobileUrlRedirection Class

SPMobileUrlRedirection Members

Microsoft.SharePoint.MobileControls Namespace