Looks for the first phone of the specified type that is a preferred phone.

Namespace: vCards
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public vCardPhone GetFirstChoice(
	vCardPhoneTypes phoneType
)
Visual Basic
Public Function GetFirstChoice ( _
	phoneType As vCardPhoneTypes _
) As vCardPhone
Visual C++
public:
vCardPhone^ GetFirstChoice(
	vCardPhoneTypes phoneType
)

Parameters

phoneType
Type: vCards..::..vCardPhoneTypes
The type of phone to seek.

Return Value

The first vCardPhone that matches the specified type. A preferred number is returned before a non-preferred number.

See Also