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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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