DriverCatalogDevices.Add Method (String, Tuple<String, Boolean>[])
Adds a device to the collection. This operation is not thread safe.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public DriverCatalogDevice Add(
string deviceId,
params Tuple<string, bool>[] hardwareIds
)
public:
DriverCatalogDevice^ Add(
String^ deviceId,
... array<Tuple<String^, bool>^>^ hardwareIds
)
Public Function Add (
deviceId As String,
ParamArray hardwareIds As Tuple(Of String, Boolean)()
) As DriverCatalogDevice
Parameters
deviceId
Type: System.StringDevice ID.
hardwareIds
Type: System.Tuple<String, Boolean>[]Tuple of hardwareIds. Item1 is the hardware ID, item2 is the value that indicates whether the item is compatible.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.DriverCatalogDevice
See Also
Add Overload
DriverCatalogDevices Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top