PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoSettings Collection

Show this topic in Library frames

This collection contains DtoSetting objects which represent all the settings for a particular DtoCategory object.

Properties

Count
Returns the number of members in a collection.
Item
Returns a specific member of a collection.

Methods

None

Remarks

Use the Count property to find the number of members in the collection.

This collection allows retrieving individual items by passing a variant containing either the 1-based ordinal or the setting name.


Note
Individual settings can also be obtained using the GetSetting method of DtoSession Object, thus saving a loop through the categories and settings.
Example
Dim my_categories as DtoCategories 
Set my_categories = my_session.Categories 
Dim my_settings as DtoSettings 
Dim first_setting as DtoSetting 
Set my_settings = my_categories.Settings 
Set first_setting = my_settings(1) 
See Also

DtoCategories Collection
DtoCategory Object


Chapter contents
Publication contents

Prev topic: DtoLicenseMgr Object
Next topic: DtoSetting Object