SPMoblogPage.OnInit Method
Represents the method that handles the Init event of a SPMoblogPage.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overrides Sub OnInit ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnInit(e)
protected override void OnInit(
EventArgs e
)
Parameters
e
Type: System.EventArgsAn EventArgs object that contains the event data.
Exceptions
Exception | Condition |
---|---|
SPException | At least one of the following lists is not mobile-enabled: Posts, Comments, Categories. |
Remarks
This method gathers the relevant lists, such as list of posts and list of comments for the blog.