adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / EmailRecipient Class / FromString Method
The string to parse


In This Topic
    FromString Method (EmailRecipient)
    In This Topic
    Creates a new EmailRecipient from a string that contains an email address and optional display name and recipient type
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Shared Function FromString( _
       ByVal source As String _
    ) As EmailRecipient
    [CanBeNull()]
    public static EmailRecipient FromString( 
       string source
    )
    [CanBeNull()]
    public:
    static EmailRecipient^ FromString( 
       String^ source
    ) 

    Parameters

    source
    The string to parse

    Return Value

    a null reference (Nothing in Visual Basic) if the source is a null reference (Nothing in Visual Basic) or empty, otherwise an EmailRecipient parsed from the source
    Remarks

    This method accepts a string of the form [MessageRecipientType:][<DisplayName>] Address

    See Also