WebPartMobileContentPanel 构造函数

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

初始化WebPartMobileContentPanel类的新实例。

命名空间:  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.")> _
Public Sub New
用法

Dim instance As New WebPartMobileContentPanel()
[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.")]
public WebPartMobileContentPanel()

备注

通常由WebPartMobileAdapter**OnLoad()**方法构造WebPartMobileContentPanel对象。

不应调用构造函数,从您自己强制性的代码,但您可以将您的自定义.aspx 文件的标记中包括WebPartMobileContentPanel对象。请参阅示例的/_layouts/mobile/mblwp.aspx和/_layouts/mobile/mblwiki.aspx页。

另请参阅

引用

WebPartMobileContentPanel 类

WebPartMobileContentPanel 成员

Microsoft.SharePoint.WebPartPages 命名空间