Share via


BillDispenser.CurrencyCode Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the active currency code to be used by BillDispenser operations.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property CurrencyCode As String
public abstract string CurrencyCode { get; set; }
public:
virtual property String^ CurrencyCode {
    String^ get () abstract;
    void set (String^ value) abstract;
}
/** @property */
public abstract String get_CurrencyCode ()

/** @property */
public abstract void set_CurrencyCode (String value)
public abstract function get CurrencyCode () : String

public abstract function set CurrencyCode (value : String)

Remarks

This property is initialized to an appropriate value by the Open method. This value is guaranteed to be one of the set of currencies specified by the CurrencyCodeList property.

Setting CurrencyCode can cause general exceptions to be thrown, and PosControlException exceptions with the following values in ErrorCode.

Value

Meaning

Illegal

A value was specified that is not within CurrencyCodeList.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

BillDispenser Class
BillDispenser Members
Microsoft.PointOfService Namespace
CurrencyCodeList