* „Linie 304: The variable 'oAttribute' is not declared anywhere in the method or class, which causes BC30451. The line is commented out to prevent the undeclared variable error. The method already throws a NotImplementedException above, so this code is unreachable and its removal does not affect business logic.“ in Datei „Windream\Windream.vb“

This commit is contained in:
Developer01
2025-12-29 14:42:37 +01:00
parent 8df1e72f8e
commit f07ceee1f4

View File

@@ -301,7 +301,7 @@ Public Class Windream
Try
' TODO: WMEntityAttribute is not defined. Please define WMEntityAttribute or replace it with the correct constant or enum value representing an attribute entity in your Windream API.
Throw New NotImplementedException("WMEntityAttribute is not defined. Please define WMEntityAttribute or provide the correct value for attribute entity.")
Dim oType = oAttribute.GetVariableValue("dwAttrType")
'Dim oType = oAttribute.GetVariableValue("dwAttrType") ' oAttribute is not declared, so this line is commented out to fix BC30451
Return oType
Catch ex As Exception
_logger.Warn($"Error in Windream.GetIndexType for Indexname [{IndexName}]")