SetEmailAddress Method (IHyperLink)

SetEmailAddress Method (IHyperLink) | Send Feedback
See Also

EmailAddress
  Email address

Subject
  Subject line of the email

Sets the hyperlink to be an email address.

# Syntax

Visual Basic |
--- | ---
    Sub SetEmailAddress( _
       ByVal EmailAddress As System.String, _
       ByVal Subject As System.String _
    )

C# |
--- | ---
    void SetEmailAddress(
       System.string EmailAddress,
       System.string Subject
    )

JavaScript |
--- | ---
    SetEmailAddress(
       EmailAddress : String,
       Subject : String
    )

COM native C++ |
--- | ---
    HRESULT SetEmailAddress(
       BSTR EmailAddress,
       BSTR Subject
    )

C++ |
--- | ---
    DSRESULT SetEmailAddress(
       const dsString& EmailAddress,
       const dsString& Subject
    )

#### Parameters

EmailAddress
  Email address
Subject
  Subject line of the email

# Remarks

This method is valid only if IHyperLink::GetType is dsHyperLinkType_e.dsHyperLinkType_EmailAddress.

# See Also

####

IHyperLink Interface
IHyperLink Members
IHyperLink::GetAsEmailAddress Method

# Availability

DraftSight V1R1.3