Modules.Interfaces: PropertyValue kann NULL sein, wenn der Knoten leer ist, aber Nothing (vb) ist nicht gleich NULL (c#)
This commit is contained in:
@@ -343,8 +343,9 @@ Public Class PropertyValues
|
|||||||
|
|
||||||
Return DoGetFinalPropValue(Value)
|
Return DoGetFinalPropValue(Value)
|
||||||
Else
|
Else
|
||||||
If Value = Nothing Then
|
' Nothing kann auch der Default-Wert der Variablen bedeuten. Also auch 0.00
|
||||||
Return Nothing
|
If IsNothing(Value) Then
|
||||||
|
Return String.Empty
|
||||||
Else
|
Else
|
||||||
Return Value.ToString
|
Return Value.ToString
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user