From f07ceee1f480b684a99bd63ec19abcaa2c1aad89 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 14:42:37 +0100 Subject: [PATCH] =?UTF-8?q?*=20=E2=80=9ELinie=20304:=20The=20variable=20'o?= =?UTF-8?q?Attribute'=20is=20not=20declared=20anywhere=20in=20the=20method?= =?UTF-8?q?=20or=20class,=20which=20causes=20BC30451.=20The=20line=20is=20?= =?UTF-8?q?commented=20out=20to=20prevent=20the=20undeclared=20variable=20?= =?UTF-8?q?error.=20The=20method=20already=20throws=20a=20NotImplementedEx?= =?UTF-8?q?ception=20above,=20so=20this=20code=20is=20unreachable=20and=20?= =?UTF-8?q?its=20removal=20does=20not=20affect=20business=20logic.?= =?UTF-8?q?=E2=80=9C=20in=20Datei=20=E2=80=9EWindream\Windream.vb=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windream/Windream.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windream/Windream.vb b/Windream/Windream.vb index 4f12349b..f7a68c41 100644 --- a/Windream/Windream.vb +++ b/Windream/Windream.vb @@ -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}]")