Click or drag to resize

IXmlSerializationInfo Methods

The IXmlSerializationInfo type exposes the following members.

Methods
 NameDescription
Public methodAddArray(String, IReadOnlyListDouble, Int32)Writes an array of Double values.
Public methodAddArray(String, IReadOnlyListInt32, Int32)Writes an array of Int32 values.
Public methodAddArray(String, IReadOnlyListObject, Int32)Writes an array of object values.
Public methodAddArray(String, IReadOnlyListString, Int32)Writes an array of string values.
Public methodAddArray(String, DateTime, Int32)Writes an array of DateTime values.
Public methodAddArray(String, Single, Int32)Writes an array of Single values.
Public methodAddArray(String, BitArray, BitArray, Int32) Adds an array of nullable boolean values. The array val contains the boolean values, whereas the array cond indicates if the boolean value is set (true) or not set (false).
Public methodAddArrayOfNullableElementsWrites an array of nullable object values.
Public methodAddAttributeValue(String, Int32)Adds an Int32 attribute to the current element.
Public methodAddAttributeValue(String, String)Adds a string attribute to the current element.
Public methodAddBaseValueEmbeddedWrites the embedded base portion of a derived object.
Public methodAddBaseValueStandaloneWrites the standalone base portion of a derived object.
Public methodAddEnumAdds an enum value element.
Public methodAddNullableEnumTAdds a nullable enum value element.
Public methodAddValue(String, Boolean)Adds a boolean value element.
Public methodAddValue(String, Char)Adds a char value element.
Public methodAddValue(String, DateTime)Adds a DateTime value element.
Public methodAddValue(String, Double)Adds a Double value element.
Public methodAddValue(String, Int32)Adds an Int32 value element.
Public methodAddValue(String, Int64)Adds an Int64 value element.
Public methodAddValue(String, MemoryStream)Adds a MemoryStream value element.
Public methodAddValue(String, NullableBoolean)Adds a nullable boolean value element.
Public methodAddValue(String, NullableDouble)Adds a nullable Double value element.
Public methodAddValue(String, NullableInt32)Adds a nullable Int32 value element.
Public methodAddValue(String, Object)Adds a complex value by serializing the object.
Public methodAddValue(String, Single)Adds a Single value element.
Public methodAddValue(String, String)Adds a string value element.
Public methodAddValue(String, TimeSpan)Adds a TimeSpan value element.
Public methodAddValueOrNullAdds a complex value or null.
Public methodClearProperties Clears the property dictionary. Useful if the serialization info should be used to serialize multiple values. If you clear the properties before the serialization of each value, the serialization behaves as if each value is serialized independent of each other.
Public methodCommitArrayCommits the current array scope.
Public methodCommitElementCommits the current element.
Public methodCreateArrayBegins an array scope.
Public methodCreateElementCreates a child element to write values into.
Public methodGetPropertyGets a previously set custom property.
Public methodIsSerializableChecks if an object is serializable by this serializer.
Public methodSetNodeContentSets the text content of the current node directly.
Public methodSetPropertySets a custom property on the serializer.
Public methodWriteRaw Writes a raw Xml string. This can be used for instance if the string to write was lazy loaded from another Xml document.
Top
See Also