City Property

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Gets or sets the City.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
<ColumnAttribute("CITY")> _
<DataMemberAttribute> _
Public Property City As String
    Get
    Set
'Usage
Dim instance As Address
Dim value As String

value = instance.City

instance.City = value
[ColumnAttribute("CITY")]
[DataMemberAttribute]
public string City { get; set; }
[ColumnAttribute(L"CITY")]
[DataMemberAttribute]
public:
property String^ City {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
Returns String.

See Also

Reference

Address Class

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace