IniSection.AddKeyValue Method (String, String, Boolean, Boolean)

TG.INI

IniSectionAddKeyValue Method (String, String, Boolean, Boolean)

Adds a new key/value entry to the section.

Namespace:  TG.INI
Assembly:  TG.INI (in TG.INI.dll) Version: 1.2.2.0 (1.2.2.0)
Syntax
public IniKeyValue AddKeyValue(
	string key,
	string value,
	bool encryptValue,
	bool quoteValue
)
Public Function AddKeyValue ( 
	key As String,
	value As String,
	encryptValue As Boolean,
	quoteValue As Boolean
) As IniKeyValue
public:
IniKeyValue^ AddKeyValue(
	String^ key, 
	String^ value, 
	bool encryptValue, 
	bool quoteValue
)
member AddKeyValue : 
        key : string * 
        value : string * 
        encryptValue : bool * 
        quoteValue : bool -> IniKeyValue 

Parameters

key
Type: SystemString
The key of the entry.
value
Type: SystemString
The value of the entry.
encryptValue
Type: SystemBoolean
Should the value be encrypted?
quoteValue
Type: SystemBoolean
Should the value be quoted?

Return Value

Type: IniKeyValue
A new instance of IniKeyValue.
See Also