XmlWriter.WriteValue Method (Int32)
Writes a Int32 value.
Assemblies: System.Xml (in System.Xml.dll)
System.Xml.ReaderWriter (in System.Xml.ReaderWriter.dll)
This method takes the common language runtime object and converts the input value to the desired output type using the XML Schema definition language (XSD) data type conversion rules.
If WriteValue is called multiple times in succession, the values are not delimited by a space. You must call WriteWhitespace between calls to WriteValue to insert white space. Pass an array type to the XmlWriter.WriteValue(Object) overload to write out an array of distinct values.
If this method is called on an XmlWriter instance that outputs text-only, the typed value is serialized to text.
For asynchronous operations, convert the return value of this method to a string and use the WriteStringAsync method.