ContactIDPropertyOriginalString Property

Gets the original string found in the vCard file, or null if the ContactIDProperty was created programmatically.

Definition

Namespace: FolkerKinzel.VCards.Models.Properties
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.2.0+a3997783578d19ef70b23d32085936c13ed21656
C#
public string? OriginalString { get; }

Property Value

String

Remarks

If the OriginalString is not null, it is copied unchanged into the vCard being written. This behavior can be undesirable when converting from one vCard version to another.

In this case, assign a new ContactIDProperty instance to the VCard — initialized with the value of the Comparer property of the ContactID thats stored as the Value of the current ContactIDProperty — in order to adapt the format (e.g., of Guids) to the new vCard version.

See Also