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.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
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.