Compartilhar via


SPMobilePhoneCallSpecificField Class

Renders a telephone number.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      Microsoft.SharePoint.MobileControls.SPMobileComponent
        Microsoft.SharePoint.MobileControls.SPMobileFieldMetaData
          Microsoft.SharePoint.MobileControls.SPMobileBaseFieldControl
            Microsoft.SharePoint.MobileControls.SPMobileBaseTextField
              Microsoft.SharePoint.MobileControls.SPMobilePhoneCallSpecificField

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPMobilePhoneCallSpecificField _
    Inherits SPMobileBaseTextField
'Usage
Dim instance As SPMobilePhoneCallSpecificField
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobilePhoneCallSpecificField : SPMobileBaseTextField

Remarks

If the device supports making telephone calls, the number is rendered as a child link control that can be clicked to start a telephone call. If the device does not support making calls, the number is rendered as a label.

Generally, the link or label is rendered as "tel: 0123456789".

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

SPMobilePhoneCallSpecificField Members

Microsoft.SharePoint.MobileControls Namespace