Click or drag to resize

XmlStreamDeserializationInfoGetValueOrNullT(String, Object) Method

Reads a value of type T or returns null.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public T GetValueOrNull<T>(
	string name,
	Object? parentObject
)
where T : class

Parameters

name  String
Element name.
parentObject  Object
Parent object for context.

Type Parameters

T
The reference type to read.

Return Value

T
Deserialized value or null if the element is missing.

Implements

IXmlDeserializationInfoGetValueOrNullT(String, Object)
See Also