XdmWriterSettings.Standalone PropertyXdmWriterSettings.Standalone PropertyXdmWriterSettings::Standalone Property
This property corresponds to the standalone
serialization parameter.
If this property has the value YesYesYes or the value NoNoNo, the XML declaration includes a standalone document declaration with the value specified by this property. If the standalone parameter has the value OmitOmitOmit, the XML declaration will not include a standalone document declaration.
If MethodMethodMethod is not set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod then this property is ignored.
If this property is not set to OmitOmitOmit,
OmitXmlDeclarationOmitXmlDeclarationOmitXmlDeclaration is set to true
True
true
and MethodMethodMethod is set to
XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod then a SEPM0009
XdmExceptionXdmExceptionXdmException is thrown when serialization is attempted.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Syntax
Public Property Standalone As Standalone Get Set(ByVal value As Standalone)
public Standalone Standalone { get; set; }
public: property Standalone Standalone { Standalone get(); void set(Standalone value); }
Property Value
Type: XmlPrime.Serialization.StandaloneXmlPrime.Serialization.StandaloneXmlPrime.Serialization::Standalone
true
True
true
if the XML declaration must contain a standalone document declaration; otherwise
false
False
false
.