Microsoft.Win32.UnixRegistryApi.GetValue C# (CSharp) Méthode

GetValue() public méthode

public GetValue ( RegistryKey rkey, string name, object default_value, RegistryValueOptions options ) : object
rkey RegistryKey
name string
default_value object
options RegistryValueOptions
Résultat 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;
		}