Name | Description | |
---|---|---|
DeleteSetting | Delete a setting from an INI file No COM Interop is used If the file does not exist or the value does not exist, false will be returned. | |
GetPrivateProfileInt | Managed version of GetPrivateProfileInt No COM Interop is used If the file does not exist or the value is not in the file, the defaultValue is used. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724348%28v=vs.85%29.aspx | |
GetPrivateProfileString | Overloaded. Managed version of GetPrivateProfileString No COM Interop is used If the file does not exist or the value is not in the file, the defaultValue is used. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724348%28v=vs.85%29.aspx | |
GetSectionNames | Get a list of the sections in an INI file. The global section will be returned as GLOBAL. See also GLOBAL_SECTION_NAME No COM Interop is used If the file does not exist, no sections will be returned. | |
GetSectionValues | Get a dictionary of the key value pairs for a section in an INI file No COM Interop is used If the file does not exist, no items will be returned. | |
GetSetting | Get the value for a setting in a section No COM Interop is used If the file does not exist or the setting does not exist, the value returned will be null. | |
SaveSetting | Save a value to an INI file No COM Interop is used If the file does not exist it will be created. If the section does not exist it will be created. If the setting already exists it will be updated. If the setting does not exist, it will be added. | |
SettingExists | Return true if a setting exists No COM Interop is used If the file does not exist or the setting does not exist, the value returned will be false. | |
WritePrivateProfileString | Managed version of WritePrivateProfileString No COM Interop is used If the file does not exist it will be created. If the section does not exist it will be created. If the setting already exists it will be updated. If the setting does not exist, it will be added. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724348%28v=vs.85%29.aspx |