Method RemoveDevice
RemoveDevice(SsdpEmbeddedDevice)
Removes a child device from the Devices collection.
Declaration
public void RemoveDevice(SsdpEmbeddedDevice device)
Parameters
Type | Name | Description |
---|---|---|
SsdpEmbeddedDevice | device | The SsdpEmbeddedDevice instance to remove. |
Remarks
If the device is not a member of the Devices collection, this method does nothing.
Also sets the RootDevice property to null for the removed device and all descendant devices.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the |