XmlSerializerDeserialize(String) Method
Deserializes an object from the specified file passed in the fileName parameter, 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(
string fileName
)
Public Shared Function Deserialize (
fileName As String
) As Object
public:
static Object^ Deserialize(
String^ fileName
)
static member Deserialize :
fileName : string -> Object
- fileName String
- The path to the file that contains the serialized content.
ObjectThe deserialized object.