XmlSerializerDeserialize(Stream) Method
Deserializes an object from the provided stream, using a lower-level safe mode.
Though it allows resolving types found in the XML content without requiring to enlist them as expected types, it denies loading new assemblies
during deserialization, even if types are stored with their assembly qualified names.
Namespace: KGySoft.Serialization.XmlAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public static Object? Deserialize(
Stream stream
)
Public Shared Function Deserialize (
stream As Stream
) As Object
public:
static Object^ Deserialize(
Stream^ stream
)
static member Deserialize :
stream : Stream -> Object
- stream Stream
- A Stream object to be used for the deserialization. The stream is not closed after the deserialization.
ObjectThe deserialized object.