PinPadBase.AvailableLanguagesList Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds an array of the languages supported by the pre-defined prompts in the PIN pad device, as defined by the CultureInfo .NET Framework Class.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property AvailableLanguagesList As CultureInfo()
public override CultureInfo[] AvailableLanguagesList { get; }
public:
virtual property array<CultureInfo^>^ AvailableLanguagesList {
array<CultureInfo^>^ get () override;
}
/** @property */
public CultureInfo[] get_AvailableLanguagesList ()
public override function get AvailableLanguagesList () : CultureInfo[]
Remarks
Languages are represented by numeric values and are Microsoft Windows Language IDs, defined in the .NET Framework Class Library documentation.
The PinPadBase class verifies that the PIN pad device has been opened, then retrieves the value of PinPadProperties.AvailableLanguagesList.
AvailableLanguagesList is initialized to an empty CultureInfo array by the PinPadProperties class. If the service object sets AvailableLanguagesList to Null, if the CapLanguage property is set to PinPadLanguage.None, or if the value represents a culture that isn’t allowed, PinPadProperties class throws a PosControlException exception with ErrorCode set to ErrorCode.Illegal.
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
PinPadBase Class
PinPadBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PinPad.AvailableLanguagesList Property
PinPad.CapLanguage Property