ImageWebPartMobileAdapter.CreateControlsForSummaryView 方法

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

当在某个派生类中重写,呈现视图的图像适用于移动设备的方式。

命名空间:  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 Overrides Sub CreateControlsForSummaryView
用法

Me.CreateControlsForSummaryView()
[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 CreateControlsForSummaryView()

备注

默认实现呈现一个图标、 (可能被截断),Web 部件的标题和适用于移动设备的方式的图像的视图。

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

另请参阅

引用

ImageWebPartMobileAdapter 类

ImageWebPartMobileAdapter 成员

Microsoft.SharePoint.WebPartPages 命名空间