Label class

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.Literal
      Microsoft.SharePoint.Mobile.Controls.TextViewBase
        Microsoft.SharePoint.Mobile.Controls.Label
          Microsoft.SharePoint.Mobile.WebControls.SPMobileCurrentUser
          Microsoft.SharePoint.Mobile.WebControls.SPMobileLabel

Namespace:  Microsoft.SharePoint.Mobile.Controls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class Label _
    Inherits TextViewBase
'Usage
Dim instance As Label
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class Label : TextViewBase

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

Label members

Microsoft.SharePoint.Mobile.Controls namespace