Represents a sorted collection of associated String keys and String values that can be accessed either with the key or with the index.
public class NameValueCollection: NameObjectCollectionBase
The following table lists the members exposed by the NameValueCollection object. Click a tab on the left to choose the type of member you want to view.
Methods
Method Description Add Overloaded. Adds entries to the current NameValueCollection. BaseAdd Adds an entry with the specified key and value into the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseClear Removes all entries from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseGet Overloaded. Gets the value of the specified entry of the NameObjectCollectionBase. (Inherited from NameObjectCollectionBase) BaseGetAllKeys Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseGetAllValues Returns an Object array that contains all the values in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseGetKey Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseHasKeys Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not null. (Inherited from NameObjectCollectionBase) BaseRemove Removes the entries with the specified key from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseRemoveAt Removes the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) BaseSet Overloaded. Sets the value of the specified entry of the NameObjectCollectionBase. (Inherited from NameObjectCollectionBase) Clear Invalidates the cached arrays and removes all entries from the NameValueCollection. CopyTo Copies the entire NameValueCollection to a compatible one-dimensional Array instance at the specified index. Equals Overloaded. Compares two objects to determine if they are equal. (Inherited from Object) Get Overloaded. Gets the value of a specified entry in the NameValueCollection GetEnumerator Returns an enumerator that can iterate through the NameObjectCollectionBase. (Inherited from NameObjectCollectionBase) GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object) GetKey Gets the key at the specified index of the NameValueCollection. GetType Gets the Type of the current instance. (Inherited from Object) GetValues Overloaded. Gets the values of a specified entry in the NameValueCollection. HasKeys Gets a value indicating whether the NameValueCollection contains keys that are not null. NameValueCollection Overloaded. Initializes a new instance of NameValueCollection. ReferenceEquals Determines whether the specified Object instances are the same instance. (Inherited from Object) Remove Removes the entries with the specified key from the NameObjectCollectionBase instance. Set Sets the value of an entry in the NameValueCollection. System.Collections.ICollection.CopyTo Copies the elements of the NameObjectCollectionBase to an Array, starting at a particular Array index. (Inherited from NameObjectCollectionBase) ToString Returns a String that represents the current Object. (Inherited from Object) this[] Overloaded. Gets or sets the entry for NameValueCollection. Properties
Property Description AllKeys Gets all the keys in the NameValueCollection. Count Gets the number of key-and-value pairs contained in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) IsReadOnly Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only. (Inherited from NameObjectCollectionBase) Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase) System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the NameObjectCollectionBase is synchronized. (Inherited from NameObjectCollectionBase) System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the NameObjectCollectionBase. (Inherited from NameObjectCollectionBase)
ObjectNameObjectCollectionBaseNameValueCollection
Namespace System.Collections.Specialized Flash Library System.scl Flash Library Version 2.0.0.1308 Silverlight Library System.Windows.Forms.dll
| © 2003-2007 NETiKA Technologies. All rights reserved. |