Share via


Currency Property

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

Gets or sets the value in the CurrencyColumn column of the catalog.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property Currency As String
'Usage
Dim instance As CatalogsDataSet..::.Catalog
Dim value As String

value = instance.Currency

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

Property Value

Type: System..::.String
Currency of the catalog.

Exceptions

Exception Condition
StrongTypingException

The value for column Currency in table Catalogs is DBNull.

Remarks

The currency for the catalog, expressed as a three letter ISO 4217 currency code. For example, USD, AUD, CDN, GBP, DEM, JPY. Default is USD.

Permissions

See Also

Reference

CatalogsDataSet..::.Catalog Class

CatalogsDataSet..::.Catalog Members

Microsoft.CommerceServer.Catalog Namespace