XmlStreamDeserializationInfoGetValueOrNullT(String, Object) Method |
Reads a value of type T or returns null.
Namespace: Altaxo.Serialization.XmlAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
TDeserialized value or
null if the element is missing.
Implements
IXmlDeserializationInfoGetValueOrNullT(String, Object)
See Also