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

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

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

            return Convert.ToInt16(retval);
        }