Click here for NewsObjects Overview
IniValue Property (Utility Control)
Windows - Visual C++


Description
The IniValue property indicates either the initialization (.ini) file name or the Windows registry key value that will be accessed, depending on the IniType property value.

Syntax
CString value = GetIniValue();
void SetIniValue(LPCTSTR value);

The IniValue syntax has these parts:

Part

Description

value

A String that contains the .ini file name or the Windows registry key value that will be accessed.

Remarks
The contents of the IniValue property depends on the value of the IniType property. If IniType is set to 0, then IniValue indicates the initialization (.ini) file that should be accessed by the ReadKey and WriteKey methods. If IniType is set to 1, then IniValue indicates the Windows registry key value that should be accesssed.

There is no default setting for the IniValue property.

See Also: IniType ReadKey WriteKey

Back to: Utility Properties