System.Collections.Specialized.NameValueCollection.HasKeys Method

Gets a value indicating whether the System.Collections.Specialized.NameValueCollection contains keys that are not null.

Syntax

public bool HasKeys ()

Returns

true if the System.Collections.Specialized.NameValueCollection contains keys that are not null; otherwise, false.

Remarks

This method is an O(1) operation.

Requirements

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