Address Property CollectionSet Preferred(Address Property) Method
This can be used to set one address as the preferred 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(
AddressProperty address
)VB
Public Sub SetPreferred (
address As AddressProperty
)C++
public:
void SetPreferred(
AddressProperty^ address
)F#
member SetPreferred :
address : AddressProperty -> unit Parameters
- address AddressProperty
- The address to make preferred
Remarks
The Preferred flag is turned off in all addresses except for the one specified
Exceptions
| ArgumentOutOfRangeException | This is thrown if the collection does not contain the specified address object. |