共用方式為


WebPartMobileAdapter.CreateControlsForDetailView method

NOTE: This API is now obsolete.

當在衍生類別中覆寫時,會呈現在行動裝置上的 [網頁組件詳細的檢視。

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 Overridable Sub CreateControlsForDetailView
'用途

Me.CreateControlsForDetailView()
[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 virtual void CreateControlsForDetailView()

備註

預設實作會呈現圖示、 網頁組件的標題 (可能是截斷) 和訊息,說明沒有詳細的檢視網頁組件。圖示是 [摘要] 檢視的連結。

從您自己的程式碼不呼叫這個方法。Microsoft SharePoint Foundation行動 adaption framework 會呼叫它的Load事件處理的一部分。

請參閱

參照

WebPartMobileAdapter class

WebPartMobileAdapter members

Microsoft.SharePoint.WebPartPages namespace