IniResourceWriter: AddResource

AddResource

Adds a key-value pair into the writer in preparation of creating an INI section.



 Public Sub AddResource(
	  ByRef Key As String,
	  ByRef Value As Variant )

Parameters

Key
[ByRef] String. The identifier of the value to be written to the INI file section.
Value
[ByRef] Variant. The value to be written to the INI file section.

Remarks

If an object is passed in, then it must implement the IObject interface or an exception will be thrown. All other datatypes will be converted to their normal string value.

See Also

Project CorLib Overview

Class IniResourceWriter Overview