Share via


PosCommon.DeviceName Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a short string identifying the device and any pertinent information about it.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property DeviceName As String
public abstract string DeviceName { get; }
public:
virtual property String^ DeviceName {
    String^ get () abstract;
}
/** @property */
public abstract String get_DeviceName ()
public abstract function get DeviceName () : String

Remarks

This is a short version of DeviceDescription and should be limited to 30 characters.

DeviceName is typically used to identify the device in an application message box, where the full description is too verbose.

DeviceName is initialized to blank. State verification occurs in the basic and base classes for each 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.

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
PosCommon.DeviceDescription Property