NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegistryKey.ValueCount

Retrieves the count of values in the key.

[Visual Basic]
Public ReadOnly Property ValueCount As Integer
[C#]
public int ValueCount {get;}
[C++]
public: __property int get_ValueCount();
[JScript]
public function get ValueCount() : int;

Exceptions

Exception Type Condition
SecurityException If the user does not have read permission for the key.

See Also

RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace