src/Microsoft/Windows/Registry/_Library/ExtensionMethods_IRegistryKey.cs
/// <summary>
/// Gets the unexpanded value of a name/value pair of type <see cref="RegistryValueKind.ExpandString"/>.
/// </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 unexpanded value of the name/value pair as string, otherwise the default value.</returns>
Gets the unexpanded value of a name/value pair of type .
Gets the unexpanded value of a name / value pair of type .
[DebuggerStepThrough]
        [MethodImpl( MethodImplOptions.AggressiveInlining )]
        public static string GetUnexpandedString( this IRegistryKey registryKey, string name, string defaultValue = "" ) {
            return registryKey.GetString( name, defaultValue, false );
        }
[ DebuggerStepThrough ] [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static string GetUnexpandedString ( this IRegistryKey registryKey , string name , string defaultValue = " " ) { return registryKey . GetString ( name , defaultValue , false ) ; }
Gets the unexpanded value of a name/value pair of type .
Gets the unexpanded value of a name / value pair of type .
If found, The unexpanded value of the name/value pair as string, otherwise the default value.
If found The unexpanded value of the name / value pair as string otherwise the default value .
IRegistryKey
this
name
string
The name of the name/value pair.
The name of the name / value pair .
defaultValue
string
The default value to be used as fallback.
The default value to be used as fallback .
registryKey
The extended  instance.
The extended instance .