HasKeys Method
Collapse the table of content
Expand the table of content

NameValueCollection.HasKeys Method

Gets a value indicating whether the NameValueCollection contains keys that are not a null reference (Nothing in Visual Basic).

[Visual Basic]
Public Function HasKeys() As Boolean
[C#]
public bool HasKeys();
[C++]
public: bool HasKeys();
[JScript]
public function HasKeys() : Boolean;

Return Value

true if the NameValueCollection contains keys that are not a null reference (Nothing in Visual Basic); otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

NameValueCollection Class | NameValueCollection Members | System.Collections.Specialized Namespace

Show:
© 2016 Microsoft