WebPartMobileAdapter.CreateControlsForDetailView 方法

请注意:此 API 现在已过时。

当在某个派生类中重写,呈现在移动设备上的 Web 部件的详细的视图。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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()

备注

默认实现呈现一个图标、 Web 部件的标题 (可能被截断) 和一条消息告知没有 Web 部件的详细的视图。图标是摘要视图中的链接。

不从您自己的代码调用此方法。Microsoft SharePoint Foundation移动适配框架将调用其作为Load事件处理的一部分。

另请参阅

引用

WebPartMobileAdapter 类

WebPartMobileAdapter 成员

Microsoft.SharePoint.WebPartPages 命名空间