1. Computing

Attributes!? Understand and Use Attributes in Delphi!

From Zarko Gajic, About.com GuideOctober 26, 2010

Follow me on:

in OOP :: Along with the extended RTTI in Delphi 2010, a new language feature was introduced: Attributes. Along with existing OOP mechanisms (inheritance and ownership) you can now use annotations for a class (and class members) to further define what you classes are capable of. Attributes are useful when you want to introduce new behavior to types (objects or record) based on additional information supplied by the annotated attributes.

Read the full article to learn how to Use Attributes to Extend the Normal Object-Oriented Model With Aspect-Oriented Elements.

Related:

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2013 About.com. All rights reserved.