'Declaration
<DefaultValueAttribute()> Public Overridable Property MaritalStatus As MaritalStatus
'Usage
Dim instance As Applicant Dim value As MaritalStatus instance.MaritalStatus = value value = instance.MaritalStatus
[DefaultValue()] public virtual MaritalStatus MaritalStatus {get; set;}
public read-write property MaritalStatus: MaritalStatus; virtual;
DefaultValueAttribute() public function get,set MaritalStatus : MaritalStatus
[DefaultValue()] public: __property virtual MaritalStatus get_MaritalStatus(); public: __property virtual void set_MaritalStatus( MaritalStatus value );
[DefaultValue()] public: virtual property MaritalStatus MaritalStatus { MaritalStatus get(); void set ( MaritalStatus value); }