Modules.Interfaces: PropertyValue kann NULL sein, wenn der Knoten leer ist, aber Nothing (vb) ist nicht gleich NULL (c#)

This commit is contained in:
PitzM 2025-02-25 13:46:58 +01:00
parent 35d8021278
commit 32f87e25f5

View File

@ -343,8 +343,9 @@ Public Class PropertyValues
Return DoGetFinalPropValue(Value)
Else
If Value = Nothing Then
Return Nothing
' Nothing kann auch der Default-Wert der Variablen bedeuten. Also auch 0.00
If IsNothing(Value) Then
Return String.Empty
Else
Return Value.ToString
End If