Gets or sets the gender.
Syntax
'Declaration
Public Overridable Property Sex As Gender
'Usage
Dim instance As Person
Dim value As Gender
instance.Sex = value
value = instance.Sex
public virtual Gender Sex {get; set;}
public read-write property Sex: Gender; virtual;
public function get,set Sex : Gender
public: __property virtual Gender get_Sex();
public: __property virtual void set_Sex(
Gender value
);
public:
virtual property Gender Sex {
Gender get();
void set ( Gender value);
}
Property Value
The gender.
See Also