Named |
public sealed class NamedValueCollection : IDisposable, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The NamedValueCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of items in the collection. | |
| ItemInt32 | Gets the value of the item at the specified index. | |
| ItemString | Gets the value of the item with the specified name. | |
| Names | Gets a collection of the names. | |
| Values | Gets a collection of the values. |
| Name | Description | |
|---|---|---|
| Add(NameValuePair) | Adds an item to the ICollectionT. | |
| Add(String, String) | Adds a name-value pair to the collection. | |
| AddRange | Adds the elements of the specified collection to the end of NamedValueCollection. | |
| Clear | Clears the entire collection of name-value pairs. | |
| CopyTo | Copies current NamedValueCollection to another. | |
| Dispose | Releases all resources used by this class. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Remove | Removes the name-value pair with the specified key from the collection. | |
| RemoveAt | Removes a selected name-value pair from the collection. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryGetValue | Gets the value associated with the specified name. |
| Name | Description | |
|---|---|---|
| CollectionChanged | Occurs when the collection has changed. | |
| PropertyChanged | Occurs when a property has changed. |