public GetValue ( string name, RegistryValueOptions options ) : object | ||
name | string | |
options | RegistryValueOptions | |
리턴 | object |
public object GetValue(RegistryKey rkey, string name, object default_value, RegistryValueOptions options) { KeyHandler keyHandler = KeyHandler.Lookup(rkey, true); if (keyHandler == null) { return(default_value); } if (keyHandler.ValueExists(name)) { return(keyHandler.GetValue(name, options)); } return(default_value); }
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); }