Share via


WebPartMobileAdapter.CreateWebPartLabel - Méthode

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

Obtient une étiquette contenant le titre du composant WebPart.

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.")> _
Protected Function CreateWebPartLabel As Label
'Utilisation
Dim returnValue As Label

returnValue = Me.CreateWebPartLabel()
[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 Label CreateWebPartLabel()

Valeur renvoyée

Type : System.Web.UI.MobileControls.Label
Le titre du composant WebPart.

Remarques

Le titre est en gras si le navigateur prend en charge le texte en gras.

Voir aussi

Référence

WebPartMobileAdapter classe

WebPartMobileAdapter - Membres

Microsoft.SharePoint.WebPartPages - Espace de noms