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.151 -- Release Build+cb63b4525778c53d196bb55bacd9a49fac1f0f07
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