DataContractSerializer Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The DataContractSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsStartObject(XmlDictionaryReader) | Determines whether the XmlDictionaryReader is positioned on an object that can be deserialized. (Overrides XmlObjectSerializer.IsStartObject(XmlDictionaryReader).) |
|
IsStartObject(XmlReader) | Determines whether the XmlReader is positioned on an object that can be deserialized. (Overrides XmlObjectSerializer.IsStartObject(XmlReader).) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ReadObject(Stream) | Reads the XML stream or document with a Stream and returns the deserialized object. (Inherited from XmlObjectSerializer.) |
|
ReadObject(XmlDictionaryReader) | Reads the XML document or stream with an XmlDictionaryReader and returns the deserialized object. (Inherited from XmlObjectSerializer.) |
|
ReadObject(XmlReader) | Reads the XML stream with an XmlReader and returns the deserialized object. (Overrides XmlObjectSerializer.ReadObject(XmlReader).) |
|
ReadObject(XmlDictionaryReader, Boolean) | Reads the XML stream with an XmlDictionaryReader and returns the deserialized object, and also specifies whether a check is made to verify the object name before reading its value. (Overrides XmlObjectSerializer.ReadObject(XmlDictionaryReader, Boolean).) |
|
ReadObject(XmlReader, Boolean) | Reads the XML stream with an XmlReader and returns the deserialized object, and also specifies whether a check is made to verify the object name before reading its value. (Overrides XmlObjectSerializer.ReadObject(XmlReader, Boolean).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
WriteEndObject(XmlDictionaryWriter) | Writes the closing XML element using an XmlDictionaryWriter. (Overrides XmlObjectSerializer.WriteEndObject(XmlDictionaryWriter).) |
|
WriteEndObject(XmlWriter) | Writes the closing XML element using an XmlWriter. (Overrides XmlObjectSerializer.WriteEndObject(XmlWriter).) |
|
WriteObject(Stream, Object) | Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified Stream. (Inherited from XmlObjectSerializer.) |
|
WriteObject(XmlDictionaryWriter, Object) | Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified XmlDictionaryWriter. (Inherited from XmlObjectSerializer.) |
|
WriteObject(XmlWriter, Object) | Writes all the object data (starting XML element, content, and closing element) to an XML document or stream with an XmlWriter. (Overrides XmlObjectSerializer.WriteObject(XmlWriter, Object).) |
|
WriteObjectContent(XmlDictionaryWriter, Object) | Writes the XML content using an XmlDictionaryWriter. (Overrides XmlObjectSerializer.WriteObjectContent(XmlDictionaryWriter, Object).) |
|
WriteObjectContent(XmlWriter, Object) | Writes the XML content using an XmlWriter. (Overrides XmlObjectSerializer.WriteObjectContent(XmlWriter, Object).) |
|
WriteStartObject(XmlDictionaryWriter, Object) | Writes the opening XML element using an XmlDictionaryWriter. (Overrides XmlObjectSerializer.WriteStartObject(XmlDictionaryWriter, Object).) |
|
WriteStartObject(XmlWriter, Object) | Writes the opening XML element using an XmlWriter. (Overrides XmlObjectSerializer.WriteStartObject(XmlWriter, Object).) |
Show: