Gets or sets the city.
Syntax
'Declaration
Public Overridable Property City As String
'Usage
Dim instance As Location
Dim value As String
instance.City = value
value = instance.City
public virtual string City {get; set;}
public read-write property City: String; virtual;
public function get,set City : String
public: __property virtual string* get_City();
public: __property virtual void set_City(
string* value
);
public:
virtual property String^ City {
String^ get();
void set ( String^ value);
}
Property Value
The city.
See Also