Parses the name of a phone type and returns the corresponding vCardPhoneTypes value.

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

Syntax

C#
public static vCardPhoneTypes ParsePhoneType(
	string name
)
Visual Basic
Public Shared Function ParsePhoneType ( _
	name As String _
) As vCardPhoneTypes
Visual C++
public:
static vCardPhoneTypes ParsePhoneType(
	String^ name
)

Parameters

name
Type: System..::..String
The name of a phone type from a TEL vCard property.

Return Value

The enumerated value of the phone type, or Default if the phone type could not be determined.

See Also