GenderCreate Method

Creates a Gender instance with the specified sex and gender-identity.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public static Gender Create(
	Sex? sex,
	string? identity = null
)

Parameters

sex  NullableSex
Standardized information about the sex of the object the VCard represents.
identity  String  (Optional)
Free text describing the gender identity.

Return Value

Gender
A gender instance that corresponds to the specified arguments.

See Also