Visual Basic Reference

Visual Studio 6.0

DataObjectFiles Collection (ActiveX Controls)

See Also   Example   Properties   Methods   Events

A collection whose elements represent a list of all filenames used by a DataObject object (such as the names of files that a user drags to or from the Windows File Explorer.)

Syntax

object.DataObjectFiles(index)

The DataObjectFiles collection syntax has these parts:

Part Description
object An object expression that evaluates to a DataObject object.
index An integer with a range from 0 to DataObjectFiles.Count - 1.

Remarks

Note   This collection is used by the Files property only when the data in the DataObject object is in the vbCFFiles format.

The DataObjectFiles collection is used by the Files property to store filenames in a DataObject object. It includes the Remove, Add, and Clear methods which allow you to manipulate its contents.

Show: