src/Microsoft/Windows/Registry/_Library/ExtensionMethods_IRegistryKey.cs
/// <summary>
/// Gets the value of a name/value pair as T.
/// </summary>
/// <typeparam name="T">The type of the value.</typeparam>
/// <param name="registryKey">The extended <see cref="IRegistryKey"/> instance.</param>
/// <param name="name">The name of the name/value pair.</param>
/// <returns>The value of the name/value pair as int.</returns>
Gets the value of a name/value pair as T.
Gets the value of a name / value pair as T .
[DebuggerStepThrough]
        [MethodImpl( MethodImplOptions.AggressiveInlining )]
        public static T Get<T>( this IRegistryKey registryKey, string name ) {
            return (T)registryKey.GetValue( name );
        }
[ DebuggerStepThrough ] [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static T Get < T > ( this IRegistryKey registryKey , string name ) { return ( T ) registryKey . GetValue ( name ) ; }
Gets the value of a name/value pair as T.
Gets the value of a name / value pair as T .
The value of the name/value pair as int.
The value of the name / value pair as int .
IRegistryKey
this
name
string
The name of the name/value pair.
The name of the name / value pair .
registryKey
The extended  instance.
The extended instance .
typeparam
The type of the value.
The type of the value .