XdmSerializationSettings.FragmentWrapElement PropertyXdmSerializationSettings.FragmentWrapElement PropertyXdmSerializationSettings::FragmentWrapElement Property

Gets or sets an element name with which to wrap fragments.

Syntax

Public Property FragmentWrapElement As System.Xml.XmlQualifiedName
        Get
        Set(ByVal value As System.Xml.XmlQualifiedName)
public System.Xml.XmlQualifiedName FragmentWrapElement { get; set; }
public:
property System.Xml::XmlQualifiedName^ FragmentWrapElement {
    System.Xml::XmlQualifiedName^ get();
    void set(System.Xml::XmlQualifiedName^ value);
}
 

Property Value

Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^

If the value is null a null reference (Nothing in Visual Basic) nullptr, then fragments will not be wrapped. If the value is set, then a parent node will be created for serialization.

Remarks

The FragmentWrapElementFragmentWrapElementFragmentWrapElement property is used to specify the qualified name of an element with which to wrap the serialized output. This is useful when the XDM instance to be serialized is not a document with a single root element.