2 writes to _xmlWriter
WindowsBase (2)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
776
_xmlWriter
= new XmlTextWriter(writerStream, System.Text.Encoding.UTF8);
934
_xmlWriter
= null;
19 references to _xmlWriter
WindowsBase (19)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (19)
373
if (_package.InStreamingCreation &&
_xmlWriter
!= null)
375
_xmlWriter
.Flush();
392
if (_package.InStreamingCreation &&
_xmlWriter
!= null)
762
Invariant.Assert(
_xmlWriter
== null);
764
if (
_xmlWriter
!= null)
827
_xmlWriter
.WriteStartDocument();
830
_xmlWriter
.WriteStartElement(PackageXmlStringTable.GetXmlString(PackageXmlEnum.CoreProperties), // local name
834
_xmlWriter
.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix),
840
_xmlWriter
.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix),
845
_xmlWriter
.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix),
877
_xmlWriter
.WriteStartElement(PackageXmlStringTable.GetXmlString(entry.Key),
885
_xmlWriter
.WriteStartAttribute(PackageXmlStringTable.GetXmlString(PackageXmlEnum.Type),
889
_xmlWriter
.WriteQualifiedName(_w3cdtf,
892
_xmlWriter
.WriteEndAttribute();
897
_xmlWriter
.WriteString(XmlConvert.ToString(((Nullable<DateTime>)entry.Value).Value.ToUniversalTime(), "yyyy-MM-ddTHH:mm:ss.fffffffZ"));
902
_xmlWriter
.WriteString(entry.Value.ToString());
905
_xmlWriter
.WriteEndElement();
928
_xmlWriter
.WriteEndElement();
931
_xmlWriter
.Close();