Public Shared Function GetPrivateProfileInt( _ ByVal sectionName As String, _ ByVal settingName As String, _ ByVal defaultValue As Integer, _ ByVal filePath As String _ ) As Integer
Dim sectionName As String Dim settingName As String Dim defaultValue As Integer Dim filePath As String Dim value As Integer value = IniReaderWriter.GetPrivateProfileInt(sectionName, settingName, defaultValue, filePath)
public static int GetPrivateProfileInt( string sectionName, string settingName, int defaultValue, string filePath )
public: static int GetPrivateProfileInt( String^ sectionName, String^ settingName, int defaultValue, String^ filePath )
Parameters
- sectionName
- The INI Section Name. Use GLOBAL for the global section.
- settingName
- The INI Setting Name
- defaultValue
- The default value if there is no value
- filePath
- The path to the INI file
Return Value
The integer