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