IniFile.AddKey Method (String, IniFile.Key)

IniFileIO

IniFileAddKey Method (String, IniFileKey)

IniFileIO Documentation
Adds the key to the specified sectionName.

Namespace:  IniFileIO
Assembly:  IniFileIO (in IniFileIO.dll) Version: 1.4.0.6028 (1.4.0.06028)
Syntax

public bool AddKey(
	string sectionName,
	IniFileKey key
)
Public Function AddKey ( 
	sectionName As String,
	key As IniFileKey
) As Boolean
public:
bool AddKey(
	String^ sectionName, 
	IniFileKey key
)
member AddKey : 
        sectionName : string * 
        key : IniFileKey -> bool 

Parameters

sectionName
Type: SystemString
Parent section.
key
Type: IniFileIOIniFileKey
Full IniFileKey to be added.

Return Value

Type: Boolean
Whether or not the key was successfully added.
See Also

Reference