Gemstone Common Library
Show/Hide TOC

# IniFileSetKeyValue Method

Sets the value of the specified key.

## Definition

Namespace: Gemstone.Interop
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
C#
View Source Request Example

    public void SetKeyValue(
    	string section,
    	string entry,
    	string newValue
    )

VB
View Source Request Example

    Public Sub SetKeyValue (
    	section As String,
    	entry As String,
    	newValue As String
    )

C++
View Source Request Example

    public:
    void SetKeyValue(
    	String^ section,
    	String^ entry,
    	String^ newValue
    )

JavaScript
View Source Request Example

    function SetKeyValue(section, entry, newValue);

#### Parameters

section String
  Section key exists in.
entry String
  Name of key.
newValue String
  The new key value to store in the INI file.

## See Also

#### Reference

IniFile Class
Gemstone.Interop Namespace