XmlSerializerDeserializeSafe(XElement) Method
Deserializes an XML content to an object in safe mode.
If
content contains names of natively not supported types, then you should use
the other overloads to specify the expected types.
See the
Remarks section of the
DeserializeSafeT(XElement, Type) overload for details.
Namespace: KGySoft.Serialization.XmlAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static Object? DeserializeSafe(
XElement content
)
Public Shared Function DeserializeSafe (
content As XElement
) As Object
public:
static Object^ DeserializeSafe(
XElement^ content
)
static member DeserializeSafe :
content : XElement -> Object
- content XElement
- XML content of the object.
ObjectThe deserialized object.