TelephonePropertyCollectionSetPreferred(TelephoneProperty) 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: 2023.1.2.0
public void SetPreferred(
	TelephoneProperty phone
)

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

ArgumentOutOfRangeExceptionThis is thrown if the collection does not contain the specified phone number object.

See Also