PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoOpenFiles Collection

Show this topic in Library frames

A collection of DtoOpenFile objects representing currently open files.

Properties

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

Methods

None

Remarks

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

You can obtain a DtoOpenFiles collection through the properties of the DtoMonitor Object object.

Example
' Instantiate session and connect 
Dim my_session as new DtoSession 
Dim result as DtoResult 
result = my_session.Connect("myserver", "username", 
"password") 
' Get monitor from session 
Dim my_monitor as DtoMonitor 
Set my_monitor = my_session.Monitor 
' Now get open files from monitor 
Dim my_openfiles as DtoOpenFiles 
Set my_openfiles = my_monitor.OpenFiles 
See Also

DtoMonitor Object


Chapter contents
Publication contents

Prev topic: DtoMonitor Object
Next topic: DtoOpenFile Object