ClientLauncher.IniFiles.GetInt32 C# (CSharp) Метод

GetInt32() публичный Метод

Gets the value of a setting in an ini file as a T:System.Int32.
/// or are /// a null reference (Nothing in VB) ///
public GetInt32 ( string sectionName, string keyName, int defaultValue ) : int
sectionName string The name of the section to read from.
keyName string The name of the key in section to read.
defaultValue int The default value to return if the key /// cannot be found.
Результат int
        public int GetInt32(string sectionName,
                            string keyName,
                            int defaultValue)
        {
            if (sectionName == null)
                throw new ArgumentNullException("sectionName");

            if (keyName == null)
                throw new ArgumentNullException("keyName");

            return NativeMethods.GetPrivateProfileInt(sectionName, keyName, defaultValue, m_path);
        }