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
e
Type: System.EventArgsAn EventArgs that contains the event data.
Remarks
This override redirects the mobile device to Url.