Partager via


_Account.GetRecipientFromID Method

Returns the Recipient object that is identified by the given entry ID.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetRecipientFromID ( _
    EntryID As String _
) As Recipient
'Usage
Dim instance As _Account
Dim EntryID As String
Dim returnValue As Recipient

returnValue = instance.GetRecipientFromID(EntryID)
[DispIdAttribute()]
Recipient GetRecipientFromID(
    string EntryID
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.Recipient
Returns a Recipient object that represents the recipient associated with the specified entry ID.

Remarks

This method is similar to the GetRecipientFromID(String) method of the NameSpace object. If there are multiple Microsoft Exchange accounts in the current profile, use the GetRecipientFromID method for the corresponding account.

See Also

Reference

_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace