ABL supports access to .NET indexed properties. In .NET, an indexed property has a group of values. Each of these property values is referenced by an indexer that can be defined with one or more keys. In ABL, you can only reference an indexed property whose indexer is defined with one key, as shown in the following syntax:
Microsoft .NET class library documentation identifies indexed properties using the following indications: it typically is defined as a default property with the name,
Item (see
Defaultindexed properties), and the language-specific property signature always includes an index definition. For example, a C# indexed property definition might be shown as in the following example of some
Control property, where
this refers to the class in which the indexed property is defined and
index identifies the data type of the single indexer key:
.NET primarily uses indexed properties to access the items of
collections, which are objects that allow you to manage collections of other objects. OpenEdge also provides indexed properties on its OpenEdge .NET class, Progress.Data.BindingSource (ProBindingSource). For more information on the ProBindingSource, see
BindingABL Data to .NET Controls.