Share via


DriverCatalogDevices.Add Method (String, String, Boolean)

 

Adds a device with a hardware ID to the internal collection. If the device already exists, the hardware information is added to the existing device.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public void Add(
    string deviceId,
    string hardwareId,
    bool compatible
)
public:
void Add(
    String^ deviceId,
    String^ hardwareId,
    bool compatible
)
Public Sub Add (
    deviceId As String,
    hardwareId As String,
    compatible As Boolean
)

Parameters

  • hardwareId
    Type: System.String

    Hardware ID to add to the device ID. If the device ID already exists, this hardware ID is added to the existing device.

  • compatible
    Type: System.Boolean

    If true, the hardware is compatible.

See Also

Add Overload
DriverCatalogDevices Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top