EMail Property CollectionSet Preferred(EMail Property) Method
This can be used to set one e-mail address as the preferred e-mail address
Definition
Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public void SetPreferred(
EMailProperty email
)VB
Public Sub SetPreferred (
email As EMailProperty
)C++
public:
void SetPreferred(
EMailProperty^ email
)F#
member SetPreferred :
email : EMailProperty -> unit Parameters
- email EMailProperty
- The e-mail address to make preferred
Remarks
The Preferred flag is turned off in all e-mail addresses except for the one specified
Exceptions
| ArgumentOutOfRangeException | This is thrown if the collection does not contain the specified e-mail address object. |