Method Contains
Contains(SsdpDeviceProperty)
Returns a boolean indicating whether or not the specified SsdpDeviceProperty instance is in the collection.
Declaration
public bool Contains(SsdpDeviceProperty customDeviceProperty)
Parameters
Type | Name | Description |
---|---|---|
SsdpDeviceProperty | customDeviceProperty | An SsdpDeviceProperty instance to check the collection for. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified instance exists in the collection, otherwise false. |
Contains(String)
Returns a boolean indicating whether or not a SsdpDeviceProperty instance with the specified full name value exists in the collection.
Declaration
public bool Contains(string customDevicePropertyFullName)
Parameters
Type | Name | Description |
---|---|---|
System.String | customDevicePropertyFullName | A string containing the full name of the SsdpDeviceProperty instance to check for. |
Returns
Type | Description |
---|---|
System.Boolean | True if an item with the specified full name exists in the collection, otherwise false. |