Public Shared Function WritePrivateProfileString( _ ByVal sectionName As String, _ ByVal settingName As String, _ ByVal settingValue As String, _ ByVal filePath As String _ ) As Boolean
Dim sectionName As String Dim settingName As String Dim settingValue As String Dim filePath As String Dim value As Boolean value = IniReaderWriter.WritePrivateProfileString(sectionName, settingName, settingValue, filePath)
public static bool WritePrivateProfileString( string sectionName, string settingName, string settingValue, string filePath )
public: static bool WritePrivateProfileString( String^ sectionName, String^ settingName, String^ settingValue, String^ filePath )
Parameters
- sectionName
- The INI Section Name. Use GLOBAL for the global section.
- settingName
- The INI Setting Name
- settingValue
- The INI Setting Value
- filePath
- The path to the INI file
Return Value
True if the setting was set successfully