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