Share via


Recipient Constructor (String, String)

3/29/2010

Initializes a new instance of the Recipient class, using the Recipient’s name and address.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public Recipient (
    string name,
    string address
)
'Declaration
Public Sub New ( _
    name As String, _
    address As String _
)

Parameters

  • name
    The Recipient’s name.
  • address
    The Recipient’s address.

Remarks

For e-mail and Meetings, the string address is a valid e-mail address.

For SMS, the string address is a valid SMS address.

If the name parameter is either null or an empty string, then a Win32Exception exception will be thrown when the Recipient object is added to the Recipient Collection.

See Also

Reference

Recipient Class
Recipient Members
Microsoft.WindowsMobile.PocketOutlook Namespace