ContactIDProperty Class

Represents the vCard property UID, which stores a unique identifier for the vCard subject.

Definition

Namespace: FolkerKinzel.VCards.Models.Properties
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.2.0+a3997783578d19ef70b23d32085936c13ed21656
C#
public sealed class ContactIDProperty : VCardProperty
Inheritance
Object    VCardProperty    ContactIDProperty

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.

Constructors

ContactIDProperty Initializes a new ContactIDProperty object with a specified ContactID.

Properties

GroupCorresponds to the group identifier of a vCard property, or is null if the VCardProperty does not belong to any group.
(Inherited from VCardProperty)
IsEmptyReturns true, if the VCardProperty object does not contain any usable data, otherwise false.
(Overrides VCardPropertyIsEmpty)
OriginalString Gets the original string found in the vCard file, or null if the ContactIDProperty was created programmatically.
ParametersGets the data of the parameter section of a vCard property.
(Inherited from VCardProperty)
Value The ContactID provided by the ContactIDProperty.

Methods

CloneCreates a new object that is a copy of the current instance.
(Overrides VCardPropertyClone)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from VCardProperty)

See Also