Export (0) Print
Expand All

XmlObjectSerializer Methods

The XmlObjectSerializer type exposes the following members.

  NameDescription
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsStartObject(XmlDictionaryReader) Gets a value that specifies whether the XmlDictionaryReader is positioned over an XML element that can be read.
Public method IsStartObject(XmlReader) Gets a value that specifies whether the XmlReader is positioned over an XML element that can be read.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadObject(Stream) Reads the XML stream or document with a Stream and returns the deserialized object.
Public method ReadObject(XmlDictionaryReader) Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object.
Public method ReadObject(XmlReader) Reads the XML document or stream with an XmlReader and returns the deserialized object.
Public method ReadObject(XmlDictionaryReader, Boolean) Reads the XML stream or document with an XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.
Public method ReadObject(XmlReader, Boolean) Reads the XML document or stream with an XmlReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteEndObject(XmlDictionaryWriter) Writes the end of the object data as a closing XML element to the XML document or stream with an XmlDictionaryWriter.
Public method WriteEndObject(XmlWriter) Writes the end of the object data as a closing XML element to the XML document or stream with an XmlWriter.
Public method WriteObject(Stream, Object) Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified Stream.
Public method WriteObject(XmlDictionaryWriter, Object) Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified XmlDictionaryWriter.
Public method WriteObject(XmlWriter, Object) Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified XmlWriter.
Public method WriteObjectContent(XmlDictionaryWriter, Object) Writes only the content of the object to the XML document or stream using the specified XmlDictionaryWriter.
Public method WriteObjectContent(XmlWriter, Object) Writes only the content of the object to the XML document or stream with the specified XmlWriter.
Public method WriteStartObject(XmlDictionaryWriter, Object) Writes the start of the object's data as an opening XML element using the specified XmlDictionaryWriter.
Public method WriteStartObject(XmlWriter, Object) Writes the start of the object's data as an opening XML element using the specified XmlWriter.
Top

Community Additions

ADD
Show:
© 2014 Microsoft