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