Click or drag to resize

XmlStreamDeserializationInfoGetValueOrOuterXml Method

Intended for lazy loading. Tries to get the deserialized value. If the type is unknown (this can happen if (especially for addin DLLs) a DLL is not loaded yet), the outer XML node is returned as string value, so it can be deserialized later.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Object? GetValueOrOuterXml(
	string name,
	Object parentobject,
	out bool returnValueIsOuterXml
)

Parameters

name  String
Name of the node.
parentobject  Object
The parent object.
returnValueIsOuterXml  Boolean
If set to true, the return value is a string containing the outer XML node.

Return Value

Object
The deserialized value (if returnValueIsOuterXml is false), or the outer XML node (if returnValueIsOuterXml is true).

Implements

IXmlDeserializationInfoGetValueOrOuterXml(String, Object, Boolean)
Exceptions
ExceptionCondition
ApplicationException
See Also