INISectionWriter: AddResource

AddResource

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



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

Parameters

Key
[ByVal] 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 INISectionWriter Overview