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. |
Résultat | int |
public int GetInt16(string sectionName,
string keyName,
short defaultValue)
{
int retval = GetInt32(sectionName, keyName, defaultValue);
return Convert.ToInt16(retval);
}