SobekCM.Core.UI_Configuration.TemplateElements.TemplateElementConfig.ShouldSerializeSubtype C# (CSharp) Method

ShouldSerializeSubtype() public method

Method suppresses XML Serialization of the Subtype property if it is empty
public ShouldSerializeSubtype ( ) : bool
return bool
        public bool ShouldSerializeSubtype()
        {
            return (!String.IsNullOrEmpty(Subtype));
        }