GenderProperty Constructor

Initializes a new GenderProperty object with a specified Gender instance.

Definition

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

Parameters

value  Gender
The Gender instance to use as Value.
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

ArgumentNullExceptionvalue is null.

See Also