WebPartMobileAdapter.CreateWebPartLabel 方法

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

获取包含 Web 部件的标题的标签。

命名空间:  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.")> _
Protected Function CreateWebPartLabel As Label
用法
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()

返回值

类型:System.Web.UI.MobileControls.Label
Web 部件的标题。

备注

标题是在浏览器支持粗体文本加粗。

另请参阅

引用

WebPartMobileAdapter 类

WebPartMobileAdapter 成员

Microsoft.SharePoint.WebPartPages 命名空间