Bewerken

Share via


NameValueCollection.HasKeys Method

Definition

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

public:
 bool HasKeys();
public bool HasKeys ();
member this.HasKeys : unit -> bool
Public Function HasKeys () As Boolean

Returns

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

Remarks

This method is an O(1) operation.

Applies to