Share via


Code Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the state/province code.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Property Code As String
'Usage
Dim instance As RegionCodeDataSet..::.StateCodesRow
Dim value As String

value = instance.Code

instance.Code = value
public string Code { get; set; }
public:
property String^ Code {
    String^ get ();
    void set (String^ value);
}
public function get Code () : String
public function set Code (value : String)

Property Value

Type: System..::.String
The state/province code

Remarks

Stores the value that represents the state or prvince of origin of the order. The value is stored in the CodeColumn.

Permissions

See Also

Reference

RegionCodeDataSet..::.StateCodesRow Class

RegionCodeDataSet..::.StateCodesRow Members

Microsoft.CommerceServer.Orders Namespace