The DeviceIdAttribute type exposes the following members.

Constructors

  NameDescription
Public methodDeviceIdAttribute
Initializes a new instance of the DeviceIdAttribute class.

Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)

Properties

  NameDescription
Public propertyDeviceId
Gets the ASCOM DeviceID, also known as the COM ProgID.
Public propertyDeviceName
Gets or sets the display name of the device. This would be the short display name, as displayed in the ASCOM Chooser.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

See Also