NamedValueCollection Class

Contains a collection of name-value pairs.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public sealed class NamedValueCollection : IDisposable, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance
Object    NamedValueCollection
Implements
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable

Properties

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.

Methods

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.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows 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.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates 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.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetValue Gets the value associated with the specified name.

Events

CollectionChanged Occurs when the collection has changed.
PropertyChanged Occurs when a property has changed.

See Also