Mono Class Library: System.Collections.Specialized.NameValueCollection Overview | Members

System.Collections.Specialized.NameValueCollection.AllKeys Property

Gets all the keys in the current instance.

public virtual string[] AllKeys { get; }

Value

A string array containing all the keys of the current instance. If the current instance is empty, the value of this property is an empty array.

Remarks

Operation
This property is read-only.

Usage
The array returned by NameValueCollection.AllKeys is cached for better performance and is automatically refreshed when the collection changes. A derived class can invalidate the cached version by calling NameValueCollection.InvalidateCachedArrays, thereby forcing the array to be refreshed.

Requirements

Namespace: System.Collections.Specialized
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0