Vote UpVote

Need to try this: overloaded default properties

The Wiert Corner – [Archive.is] Need to try this: … multiple default index properties havingĀ the same name …getters can be overloads … resolve …by type signature … – Thomas Mueller (dummzeuch) – Google+, thanks to marckĀ for this brilliantly simple example: private function GetColumnValue(const ColumnName: string): string; overload; function GetColumnValue(Index: Integer): string; overload; procedure SetColumnValue(Index: Integer; const Value: string); public property Values[const ColumnName: string]: string read GetColumnValue; default; property ...
Favorite? Off-Topic? jpluimers @ 2019-05-15 07:04


Visits: 123
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)