Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataContractSerializer Methods

The DataContractSerializer type exposes the following members.

  NameDescription
Public method Equals 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 Overloaded. Determines whether the reader is positioned on an object that can be deserialized.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadObject Overloaded. Reads the XML stream and returns the deserialized object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteEndObject Overloaded. Writes the closing XML element using the specified writer.
Public method WriteObject Overloaded. Writes all the object data (starting XML element, content, and closing element) to an XML document or stream.
Public method WriteObjectContent Overloaded. Writes the XML content without the wrapping element using the specified writer.
Public method WriteStartObject Overloaded. Writes the opening XML element using the specified writer.
Top

Community Additions

Show:
© 2014 Microsoft