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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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