NonStandardProperty Constructor

Initializes a new NonStandardProperty object.

Definition

Namespace: FolkerKinzel.VCards.Models.Properties
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public NonStandardProperty(
	string key,
	string? value,
	string? group = null
)

Parameters

key  String
The key ("name") of the non-standard vCard property (format: X-NAME).
value  String
The value of the vCard property: any data encoded as String, or null.
group  String  (Optional)
Identifier of the group of VCardProperty objects, which the VCardProperty should belong to, or null to indicate that the VCardProperty does not belong to any group.

Exceptions

ArgumentNullExceptionkey is null.
ArgumentExceptionkey is not a valid X-NAME.

See Also