INameFormatterToDisplayName Method

Converts the content of a NameProperty instance to a formatted String, which can by displayed to users.

Definition

Namespace: FolkerKinzel.VCards.Formatters
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
string? ToDisplayName(
	NameProperty nameProperty,
	VCard vCard
)

Parameters

nameProperty  NameProperty
The NameProperty instance to convert.
vCard  VCard
The VCard instance nameProperty belongs to.

Return Value

String
A String that represents the content of nameProperty, or null.

Exceptions

ArgumentNullExceptionnameProperty or vCard is null.

See Also