共用方式為


WebPartMobilePage.OnInit method

NOTE: This API is now obsolete.

表示處理Init事件的方法。

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

Syntax

'宣告
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'用途
Dim e As EventArgs

Me.OnInit(e)
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
protected override void OnInit(
    EventArgs e
)

參數

備註

將行動的介面卡的所有 Web 組件都加入至頁面的控制項集合。不過,如果要求 URL 包含QueryString識別特定的網頁組件,並在頁面處於詳細資料] 檢視中,然後加入只在 URL 中指定 [網頁組件。

請參閱

參照

WebPartMobilePage class

WebPartMobilePage members

Microsoft.SharePoint.WebPartPages namespace