'Declaration
Public Overridable Property Departments As DepartmentCollection
'Usage
Dim instance As Location Dim value As DepartmentCollection instance.Departments = value value = instance.Departments
public virtual DepartmentCollection Departments {get; set;}
public read-write property Departments: DepartmentCollection; virtual;
public function get,set Departments : DepartmentCollection
public: __property virtual DepartmentCollection* get_Departments(); public: __property virtual void set_Departments( DepartmentCollection* value );
public: virtual property DepartmentCollection^ Departments { DepartmentCollection^ get(); void set ( DepartmentCollection^ value); }