用于ABL Progress Openedge的.NET的等效类型

问题描述 投票:0回答:1

我已将System.Messaging添加到assemblies.xml中,因为我需要在Progress OpenEdge应用程序中使用它。但是我遇到了一个问题。

在C#中分配时:

m.Formatter = new XmlMessageFormatter(new[] { typeof(TrowConfiguration) });
TrowConfiguration myConfiguration = m.Body as TrowConfiguration;

但是我现在想在ABL中这样做。我首先使用一种方法来读取字符串,然后将CHARACTER EXTENT 1 INITIAL "System.String"传递给XmlMessageFormatter对象。但是我尝试将其更改为我的对象TrowConfiguration的路径,但这不起作用并给我一个错误。

openedge progress-4gl
1个回答
2
投票

如果您正在寻找System.Type参考,请使用

Progress.Util.TypeHelper:GetType ("<your fully qualified type name>").

© www.soinside.com 2019 - 2024. All rights reserved.