Share via


HardwareIdAttribute Class

Definition

Defines a class containing a range of hardware Ids supported by a service object.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class HardwareIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type HardwareIdAttribute = class
    inherit Attribute
Public NotInheritable Class HardwareIdAttribute
Inherits Attribute
Inheritance
HardwareIdAttribute
Attributes

Constructors

HardwareIdAttribute(String, String)

Creates an instance of the HardwareIdAttribute class with the first and last hardware ID in a range.

HardwareIdAttribute(String)

Creates an instance of the HardwareIdAttribute class with the hardware ID.

Properties

From

Gets the first hardware ID in a range.

To

Applies to