Share via


PosCommon.DeviceName Property

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

Usage

'Usage
Dim posCommon1 As PosCommon

Dim returnValue As String
returnValue = posCommon1.DeviceName

Syntax

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

Remarks

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

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

DeviceName will typically be used to identify the device in an application message box, where the full description is too verbose. The device must be opened before this property can be accessed.

DeviceName is initialized to blank. State verification takes place 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
DeviceDescription