WebPartMobileContentPanel constructor

NOTE: This API is now obsolete.

Initializes a new instance of the WebPartMobileContentPanel class.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<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
'Usage

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

Remarks

Typically a WebPartMobileContentPanel object is constructed by the OnLoad() method of a WebPartMobileAdapter.

You should not call the constructor from your own imperative code, but you may place include a WebPartMobileContentPanel object in your markup of a custom .aspx file. See the /_layouts/mobile/mblwp.aspx and /_layouts/mobile/mblwiki.aspx pages for examples.

See also

Reference

WebPartMobileContentPanel class

WebPartMobileContentPanel members

Microsoft.SharePoint.WebPartPages namespace