Liquid XML Data Binder
LiquidTechnologies.XmlObjects Namespace / DefaultAttributeHandlingRule Enumeration

In This Topic
    DefaultAttributeHandlingRule Enumeration
    In This Topic
    The rules used when dealing with attributes that have default values associated with them
    Syntax
    'Declaration
     
    
    Public Enum DefaultAttributeHandlingRule 
       Inherits System.Enum
    public enum DefaultAttributeHandlingRule : System.Enum 
    Members
    MemberValueDescription
    OmitIfDefault2If default value has been set against an optional xs:attribute, and the property representing the attribute in the LXO object model has the same value as the default specified in the XSD, then an attribute is NOT written out.
    OmitIfNull1If the property representing an attribute is null in the LXO model, then it is not written out.
    WriteDefaultIfOmitted0If default value has been set against an optional xs:attribute, and the property representing the attribute in the LXO object model is null, then an attribute with the default value will be written out.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             LiquidTechnologies.XmlObjects.DefaultAttributeHandlingRule

    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also