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;
Exception Type | Condition |
---|---|
SecurityException | If the user does not have read permission for the key. |
RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace