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

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

UnknownElements is defined as a List<Element>, and you may add your own Elements to this list within your code.

If IgnoreUnknownElements is set, then the UnknownElements list is pre-populated with any unknown Elements read in by the parser.

Note: The UnknownElements are always written out after all other elements of the parent element.