src/Microsoft/Windows/Registry/_Library/ExtensionMethods_IRegistryKey.cs
/// <summary>
/// Gets the value of a name/value pair as int.
/// </summary>
/// <param name="registryKey">The extended <see cref="IRegistryKey"/> instance.</param>
/// <param name="name">The name of the name/value pair.</param>
/// <param name="defaultValue">The default value to be used as fallback.</param>
/// <returns>If found, The value of the name/value pair as int, otherwise the default value.</returns>
Gets the value of a name/value pair as int.
Gets the value of a name / value pair as int .
[DebuggerStepThrough]
        [MethodImpl( MethodImplOptions.AggressiveInlining )]
        public static int GetInt( this IRegistryKey registryKey, string name, int defaultValue = int.MinValue ) {
            return registryKey.Get( name, defaultValue );
        }
[ DebuggerStepThrough ] [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static int GetInt ( this IRegistryKey registryKey , string name , int defaultValue = int . MinValue ) { return registryKey . Get ( name , defaultValue ) ; }
Gets the value of a name/value pair as int.
Gets the value of a name / value pair as int .
If found, The value of the name/value pair as int, otherwise the default value.
If found The value of the name / value pair as int otherwise the default value .
IRegistryKey
this
name
string
The name of the name/value pair.
The name of the name / value pair .
defaultValue
int
The default value to be used as fallback.
The default value to be used as fallback .
registryKey
The extended  instance.
The extended instance .