ListViewWebPartMobileAdapter.CreateControlsForSummaryView 方法

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

呈现ListViewWebPart适用于移动设备的摘要视图。

命名空间:  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的视图配置用户界面中呈现的项目数。

另请参阅

引用

ListViewWebPartMobileAdapter 类

ListViewWebPartMobileAdapter 成员

Microsoft.SharePoint.WebPartPages 命名空间