Share via


WebPartMobileContentPanel - Constructeur

Remarque : cette API est désormais obsolète.

Initialise une nouvelle instance de la classe WebPartMobileContentPanel .

Espace de noms :  Microsoft.SharePoint.WebPartPages
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<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
'Utilisation

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

Remarques

En général, un objet WebPartMobileContentPanel est construit par la méthode OnLoad() d'un WebPartMobileAdapter.

Vous ne devez pas appeler le constructeur de votre propre code impératif, mais vous pouvez placer inclure un objet WebPartMobileContentPanel dans vos marques de révision d'un fichier .aspx personnalisée. Reportez-vous aux pages /_layouts/mobile/mblwp.aspx et /_layouts/mobile/mblwiki.aspx pour obtenir des exemples.

Voir aussi

Référence

WebPartMobileContentPanel classe

WebPartMobileContentPanel - Membres

Microsoft.SharePoint.WebPartPages - Espace de noms