Class SsdpDevicePropertiesCollection
Represents a collection of SsdpDeviceProperty instances keyed by the FullName property value.
Inheritance
Implements
Inherited Members
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public class SsdpDevicePropertiesCollection : IEnumerable<SsdpDeviceProperty>, IEnumerable
Remarks
Items added to this collection are keyed by their FullName property value, at the time they were added. If the name changes after they were added to the collection, the key is not updated unless the item is manually removed and re-added to the collection.
Constructors
Name | Description |
---|---|
SsdpDevicePropertiesCollection() | Default constructor. |
SsdpDevicePropertiesCollection(Int32) | Full constructor. |
Properties
Name | Description |
---|---|
Count | Returns the number of items in the collection. |
Item[String] | Returns the SsdpDeviceProperty instance from the collection that has the specified FullName value. |
Methods
Name | Description |
---|---|
Add(SsdpDeviceProperty) | Adds a SsdpDeviceProperty instance to the collection. |
Contains(SsdpDeviceProperty) | Returns a boolean indicating whether or not the specified SsdpDeviceProperty instance is in the collection. |
Contains(String) | Returns a boolean indicating whether or not a SsdpDeviceProperty instance with the specified full name value exists in the collection. |
GetEnumerator() | Returns an enumerator of SsdpDeviceProperty instances in this collection. |
Remove(SsdpDeviceProperty) | Removes the specified property instance from the collection. |
Remove(String) | Removes the property with the specified key (FullName from the collection. |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerable.GetEnumerator() | Returns an enumerator of SsdpDeviceProperty instances in this collection. |