Writes an XML element that contains a string as the body. System.Xml.XmlWriter inserts an xsi:nil='true' attribute if the string's value is null.
The protected members of System.Xml.Serialization.XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
When set to true, the nil attribute from the XML Schema instance namespace (abbreviated xsi) indicates a null value.
The XmlSerializationWriter.WriteNullableStringLiteral(string, string, string) method is called only when writing literal XML that can be defined in an XML Schema document.