GetAsEmailAddress Method (IHyperLink)

GetAsEmailAddress Method (IHyperLink) | Send Feedback
See Also

Result[out]
  True if successful, false if not

EmailAddress[out]
  Email address

Subject[out]
  Subject line of the email

Gets the the email address and subject line of the hyperlink.

# Syntax

Visual Basic |
--- | ---
    Function GetAsEmailAddress( _
       ByRef EmailAddress As System.String, _
       ByRef Subject As System.String _
    ) As System.Boolean

C# |
--- | ---
    System.bool GetAsEmailAddress(
       out System.string EmailAddress,
       out System.string Subject
    )

JavaScript |
--- | ---
    GetAsEmailAddress(
    ) : {
       EmailAddress : String,
       Subject : String,
       Result : Boolean
    }

COM native C++ |
--- | ---
    HRESULT GetAsEmailAddress(
       BSTR* EmailAddress,
       BSTR* Subject,
       VARIANT_BOOL* Result
    )

C++ |
--- | ---
    DSRESULT GetAsEmailAddress(
       dsString* EmailAddress,
       dsString* Subject,
       bool* Result
    )

#### Parameters

EmailAddress[out]
  Email address
Subject[out]
  Subject line of the email
Result[out] or Return Value
  True if successful, false if not

# Remarks

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

# See Also

####

IHyperLink Interface
IHyperLink Members
IHyperLink::SetEmailAddress Method

# Availability

DraftSight V1R1.3