Returns the first web site of the specified type. If the collection does not contain a website of the specified type, but does contain a default (uncategorized) website, then that website will be returned.

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

Syntax

C#
public vCardWebsite GetFirstChoice(
	vCardWebsiteTypes siteType
)
Visual Basic
Public Function GetFirstChoice ( _
	siteType As vCardWebsiteTypes _
) As vCardWebsite
Visual C++
public:
vCardWebsite^ GetFirstChoice(
	vCardWebsiteTypes siteType
)

Parameters

siteType
Type: vCards..::..vCardWebsiteTypes

Return Value

See Also