共用方式為


SPMobileMailToSpecificField Class

Renders a link that opens a new outgoing e-mail message.

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.SPMobileMailToSpecificField

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 SPMobileMailToSpecificField _
    Inherits SPMobileBaseTextField
'Usage
Dim instance As SPMobileMailToSpecificField
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobileMailToSpecificField : SPMobileBaseTextField

Remarks

The SPMobileMailToSpecificField control uses a child link control to actually render the link with text in the following form.

mailto:E-mail Address

E-mail Address is the address that appears in the To field of the outgoing message when it opens. If the mobile device is not capable of sending e-mail, the control uses a simple child label control to render the e-mail address alone.

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

SPMobileMailToSpecificField Members

Microsoft.SharePoint.MobileControls Namespace