NameValueCollection Members
.NET Framework 3.0
Represents a collection of associated String keys and String values that can be accessed either with the key or with the index.
The following tables list the members exposed by the NameValueCollection type.
(see also
Protected Constructors
)
Top
| Name | Description | |
|---|---|---|
| NameValueCollection | Overloaded. Initializes a new instance of the NameValueCollection class. |
| Name | Description | |
|---|---|---|
| NameValueCollection | Overloaded. Initializes a new instance of the NameValueCollection class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| AllKeys | Gets all the keys in the NameValueCollection. |
| Count | Gets the number of key/value pairs contained in the NameObjectCollectionBase instance.(inherited from NameObjectCollectionBase) |
| Item | Overloaded. Gets or sets the specified entry of the NameValueCollection. |
| Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.(inherited from NameObjectCollectionBase) |
| Name | Description | |
|---|---|---|
| IsReadOnly | Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.(inherited from NameObjectCollectionBase) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Overloaded. Adds entries to the current NameValueCollection. |
| Clear | Invalidates the cached arrays and removes all entries from the NameValueCollection. |
| CopyTo | Copies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| Get | Overloaded. Gets the values of a specified entry in the NameValueCollection combined into one comma-separated list. |
| GetEnumerator | Returns an enumerator that iterates through the NameObjectCollectionBase. (inherited from NameObjectCollectionBase) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetKey | Gets the key at the specified index of the NameValueCollection. |
| GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| 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 a null reference (Nothing in Visual Basic). |
| OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (inherited from NameObjectCollectionBase) |
| 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. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| 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 from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGetAllKeys | Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| BaseGetAllValues | Overloaded. Returns an 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 a null reference (Nothing in Visual Basic). (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 an entry in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase) |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| InvalidateCachedArrays | Resets the cached arrays of the collection to a null reference (Nothing in Visual Basic). |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Community Additions
ADD
Show: