src/Microsoft/Windows/Registry/_Library/ExtensionMethods_IRegistryKey.cs
/// <summary>
/// Sets the value of a name/value pair as <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="value">The value to set.</param>
Sets the value of a name/value pair as .
Sets the value of a name / value pair as .
[DebuggerStepThrough]
        [MethodImpl( MethodImplOptions.AggressiveInlining )]
        public static void SetExpandableString( this IRegistryKey registryKey, string name, string value ) {
            registryKey.SetValue( name, value, RegistryValueKind.ExpandString );
        }
[ DebuggerStepThrough ] [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static void SetExpandableString ( this IRegistryKey registryKey , string name , string value ) { registryKey . SetValue ( name , value , RegistryValueKind . ExpandString ) ; }
Sets the value of a name/value pair as .
Sets the value of a name / value pair as .
IRegistryKey
this
name
string
The name of the name/value pair.
The name of the name / value pair .
value
string
The value to set.
The value to set .
registryKey
The extended  instance.
The extended instance .