Property Test : Integer read FTest write FTest Update: this article indicates that custom attributes can be placed before properties: It looks like variables (external to any class declaration) also can have attributes.īased on this article, attributes can be used forĪre there other language elements where attributes can be placed? (And AFAIK generic classes do not support custom attributes). The examples which I have found so far include class declarations, fields and methods. For which language elements can a custom attribute be used? Delphi 2010 introduced custom attributes which can be added to type declarations and methods.
0 Comments
Leave a Reply. |