Partager via


DeviceDescriptor Constructor (String, String, Boolean)

 

Creates a new instance of the DeviceDescriptor, using the specified device name, device ID, and Windows family value.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Syntax

public DeviceDescriptor(
    string deviceName,
    string deviceId,
    bool isWindowsFamily
)
public:
DeviceDescriptor(
    String^ deviceName,
    String^ deviceId,
    bool isWindowsFamily
)
Public Sub New (
    deviceName As String,
    deviceId As String,
    isWindowsFamily As Boolean
)

Parameters

  • isWindowsFamily
    Type: System.Boolean

    true if the device is part of the Windows family; otherwise, false.

See Also

DeviceDescriptor Overload
DeviceDescriptor Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top