_NameSpace.CreateRecipient(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Recipient object.
public:
Microsoft::Office::Interop::Outlook::Recipient ^ CreateRecipient(System::String ^ RecipientName);
public Microsoft.Office.Interop.Outlook.Recipient CreateRecipient (string RecipientName);
Public Function CreateRecipient (RecipientName As String) As Recipient
Parameters
- RecipientName
- String
The name of the recipient; it can be a string representing the display name, the alias, or the full SMTP e-mail address of the recipient.
Returns
A Recipient object that represents the new recipient.
Remarks
This method is most commonly used to create a Recipient object for use with the GetSharedDefaultFolder(Recipient, OlDefaultFolders) method, for example, to open a delegator's folder. It can also be used to verify a given name against an address book.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應