src/Microsoft/Windows/Registry/_Library/ExtensionMethods_IRegistryKey.cs
/// <summary>
/// Sets a name/value pair to string value. <see cref="RegistryValueKind.String"/>
/// </summary>
/// <param name="registryKey">The extended <see cref="IRegistryKey"/> instance.</param>
/// <param name="name">The name of the Name/Value pair</param>
/// <param name="value">The value to be set.</param>
Sets a name/value pair to string value.
Sets a name / value pair to string value .
[DebuggerStepThrough]
        [MethodImpl( MethodImplOptions.AggressiveInlining )]
        public static void SetString( this IRegistryKey registryKey, string name, string value ) {
            registryKey.SetValue( name, value, RegistryValueKind.String );
        }
[ DebuggerStepThrough ] [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static void SetString ( this IRegistryKey registryKey , string name , string value ) { registryKey . SetValue ( name , value , RegistryValueKind . String ) ; }
Sets a name/value pair to string value.
Sets a name / value pair to string value .
IRegistryKey
this
name
string
The name of the Name/Value pair
The name of the Name / Value pair
value
string
The value to be set.
The value to be set .
registryKey
The extended  instance.
The extended instance .