Click or drag to resize

XmlStreamDeserializationInfoGetPropertyOrDefaultT Method

Gets a property value from the property dictionary identified by the provided key string. If the property does not exist in the dictionary, the default value is returned.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public T GetPropertyOrDefault<T>(
	string propertyKey
)

Parameters

propertyKey  String
The property key.

Type Parameters

T
Type of the property

Return Value

T
If the property exists, the property value is returned; otherwise, the default value of the expected property value type is returned.

Implements

IXmlDeserializationInfoGetPropertyOrDefaultT(String)
See Also