public GetValue ( |
||
rkey | ||
name | string | |
default_value | object | |
options | RegistryValueOptions | |
return | object |
public object GetValue (RegistryKey rkey, string name, object default_value, RegistryValueOptions options)
{
KeyHandler self = KeyHandler.Lookup (rkey, true);
if (self == null) {
// key was removed since it was opened
return default_value;
}
if (self.ValueExists (name))
return self.GetValue (name, options);
return default_value;
}