ComponentOne True DataControl 8.0
Item Property (Constraints)

Returns a single collection item.

Syntax

collection.Item (index)

Remarks

Property applies to Constraints, Fields, FilterExpressions, NamedBookmarks, Parameters, PropertyExpressions, and RangeConditions collections.

Arguments: index is an expression that specifies the collection member to be accessed.

Return Value: A reference to the specified object.

Use the Item method to access a specific member of a True DataControl collection. All collections accept a zero-based index argument. The Fields and Parameters collections also accept name as an index.

Note: The Item property is not required. The following expressions are equivalent:

TData1.Fields(0)

TData1.Fields.Item(0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback