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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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