erminas.SmartAPI.CMS.XmlReadWriteWrapper.GetIntAttributeValue C# (CSharp) Method

GetIntAttributeValue() public method

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);
        }