Click or drag to resize
Task Scheduler Managed Class Library

NamedValueCollection Class

Contains a collection of name-value pairs.
Inheritance Hierarchy
SystemObject
  Microsoft.Win32.TaskSchedulerNamedValueCollection

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public sealed class NamedValueCollection : IDisposable, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Request Example View Source

The NamedValueCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of items in the collection.
Public propertyItemInt32
Gets the value of the item at the specified index.
Public propertyItemString
Gets the value of the item with the specified name.
Public propertyNames
Gets a collection of the names.
Public propertyValues
Gets a collection of the values.
Top
Methods
  NameDescription
Public methodAdd(NameValuePair)
Public methodAdd(String, String)
Adds a name-value pair to the collection.
Public methodAddRange
Adds the elements of the specified collection to the end of NamedValueCollection.
Public methodClear
Clears the entire collection of name-value pairs.
Public methodCopyTo
Copies current NamedValueCollection to another.
Public methodDispose
Releases all resources used by this class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the name-value pair with the specified key from the collection.
Public methodRemoveAt
Removes a selected name-value pair from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified name.
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when the collection has changed.
Public eventPropertyChanged
Occurs when a property has changed.
Top
See Also