Windows apps
Collapse the table of content
Expand the table of content
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.

NetDataContractSerializer::Deserialize Method (Stream^)

 

Deserializes an XML document or stream into an object.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
virtual Object^ Deserialize(
	Stream^ stream
) sealed

Parameters

stream
Type: System.IO::Stream^

A Stream that contains the XML to deserialize.

Return Value

Type: System::Object^

The deserialized object.

This method assumes the default format is text XML.

System_CAPS_security Security Note

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Untrusted Data Security Risks.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft