Liquid XML Data Binder 2020
.Net PersistUnknownAttributes - SerializationContext
Liquid XML Data Binder (C++, Java, VB6) > Reference > C# and VB .Net (Deprecated - use Liquid XML Objects) > Reference > SerializationContext > .Net PersistUnknownAttributes - SerializationContext
This feature has been superseded by Liquid XML Objects.
(The original functionality is still included in the product)
Use Liquid XML Objects
bool PersistUnknownAttributes
  Property Description  
    Property Name PersistUnknownAttributes  
    Property Type bool  
    Accessors Read/Write  
    Description Cause the writer to write out additional attributes that are not present in the schema.  

When true, the writer will write out the contents of the public property UnknownAttributes, available on each generated class.

UnknownAttributes is defined as a List<Attribute>, and you may add your own Attributes to this list within your code.

If IgnoreUnknownAttributes is set, then the UnknownAttributes list is pre-populated with any unknown Attributes read in by the parser.

Note: The UnknownAttributes are always written out after all other attributes of the parent element.