HardwareIdAttribute Class

Allows PosExplorer to determine if any hardware is available for a service object.

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

Usage

'Usage
Dim id As String
Dim hardwareIdAttribute1 As New HardwareIdAttribute(id)

Syntax

'Declaration
NotInheritable Public Class HardwareIdAttribute
    Inherits Attribute
public sealed class HardwareIdAttribute : Attribute
public sealed ref class HardwareIdAttribute : public Attribute
public final class HardwareIdAttribute extends Attribute
public class HardwareIdAttribute extends Attribute

Remarks

Use HardwareIdAttribute to indicate the range of hardware IDs supported by a service object.

You can include any number of attributes, depending on the number of supported hardware types.

Inheritance Hierarchy

System.Object
   System.Attribute
    Microsoft.PointOfService.HardwareIdAttribute

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

HardwareIdAttribute Members
Microsoft.PointOfService Namespace