WebPartMobileAdapter.CreateWebPartLabel method

NOTE: This API is now obsolete.

Gets a label containing the title of the Web Part.

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.")> _
Protected Function CreateWebPartLabel As Label
'Usage
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()

Return value

Type: System.Web.UI.MobileControls.Label
The title of the Web Part.

Remarks

The title is bold if the browser supports bold text.

See also

Reference

WebPartMobileAdapter class

WebPartMobileAdapter members

Microsoft.SharePoint.WebPartPages namespace