public GetIntAttributeValue ( string attributeName ) : int? | ||
attributeName | string | |
return | int? |
public int? GetIntAttributeValue(string attributeName)
{
var strValue = GetAttributeValue(attributeName);
return string.IsNullOrEmpty(strValue) ? null : (int?) int.Parse(strValue);
}