Class Gender
Constants used for properties of type Gender.
public class Gender : ConstantClass
- Inheritance
-
Gender
Constructors
Gender(string)
This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public Gender(string value)
Parameters
value
string
Fields
Female
Constant Female for Gender
public static readonly Gender Female
Field Value
Male
Constant Male for Gender
public static readonly Gender Male
Field Value
Methods
FindValue(string)
Finds the constant for the unique value.
public static Gender FindValue(string value)
Parameters
value
stringThe unique value for the constant
Returns
- Gender
The constant for the unique value
Operators
implicit operator Gender(string)
Utility method to convert strings to the constant class.
public static implicit operator Gender(string value)
Parameters
value
stringThe string value to convert to the constant class.