阅读背景:

如何实现Type-safe COM枚举?

来源:互联网 

How could i implement Type-Safe Enumerations in Delphi in a COM scenario ? Basically, i'd like to replace a set of primitive constants of a enumeration with a set of static final object references encapsulated in a class ? . In Java, we can do something like:How could i implement Type-Safe Enumerations in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: