PinPad.CapLanguage Property
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim pinPad1 As PinPad
Dim returnValue As PinPadLanguage
returnValue = pinPad1.CapLanguage
Syntax
'Declaration
Public MustOverride ReadOnly Property CapLanguage() As PinPadLanguage
public abstract PinPadLanguage CapLanguage {get;}
public: property virtual PinPadLanguage^ CapLanguage{
PinPadLanguage^ get();
}
public abstract PinPadLanguage get_CapLanguage();
public abstract function get CapLanguage() : PinPadLanguage;
Remarks
Defines the language of pre-defined messages for the PIN pad device (for example, English, French, Arabic, and so on). Possible values are defined by the PinPadLanguage enumeration. Values are:
Value |
Meaning |
None |
The PIN pad supports no pre-defined prompt messages. CapLanguage will be set to this value if the CapDisplay property is set to PinPadDisplay.RestrictedOrder. If the application tries to set the value of the PromptLanguage property, the service object sets the ErrorCode property to Illegal. |
One |
The PIN pad supports pre-defined prompt messages in one language. If the application tries to set the value of the PromptLanguage property, the service object will set the ErrorCode property to Illegal. |
PinRestricted |
The PIN pad cannot change prompt languages during PIN entry. The application must set the PromptLanguage property to the desired value before calling the EnablePinEntry method. Attempting to set the value of the PromptLanguage while the PinEntryEnabled property is set to TRUE will cause the service object to set the ErrorCode property to Busy. |
Unrestricted |
The application can change the language of pre-defined prompt messages at any time, and the currently displayed message will change immediately. |
CapLanguage is typically initialized to None. The service object should then set CapLanguage based on the capability of the device.
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
PromptLanguage
PinEntryEnabled
EnablePinEntry
PinPadLanguage