共用方式為


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

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.

See Also

Reference

SPMoblogPage Class

SPMoblogPage Members

Microsoft.SharePoint.MobileControls Namespace