GenderCreate Method
Creates a
Gender instance with the specified
sex
and gender-
identity.
Namespace: FolkerKinzel.VCards.ModelsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
public static Gender Create(
Sex? sex,
string? identity = null
)
Public Shared Function Create (
sex As Sex?,
Optional identity As String = Nothing
) As Gender
public:
static Gender^ Create(
Nullable<Sex> sex,
String^ identity = nullptr
)
static member Create :
sex : Nullable<Sex> *
?identity : string
(* Defaults:
let _identity = defaultArg identity null
*)
-> Gender
- sex NullableSex
- Standardized information about the sex of the object
the VCard represents.
- identity String (Optional)
- Free text describing the gender identity.
GenderA gender instance that corresponds to the specified arguments.