Click or drag to resize

XmlStreamDeserializationInfoGetNullableStructT Method

Reads a nullable struct value.

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

Parameters

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

Type Parameters

T
The struct type to read.

Return Value

NullableT
Deserialized value or null.

Implements

IXmlDeserializationInfoGetNullableStructT(String, Object)
See Also