XdmSerializationSettings.FragmentWrapElement PropertyXdmSerializationSettings.FragmentWrapElement PropertyXdmSerializationSettings::FragmentWrapElement Property
- XmlPrime 1.0
Gets or sets an element name with which to wrap fragments.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
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.