Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

DataObjectFiles.Add Method

Adds a filename to the DataObject.Files collection (sftCFFiles format only).

Syntax

VBobject.Add(ByVal Filename As String, [ ByVal ItemIndex As Variant ] )

object

A DataObjectFiles object.

Filename

The file name to be added to the collection.

ItemIndex

The one-based position where the file name is to be inserted. If ItemIndex is not specified, the new file name is added at the end of the collection.

Comments

The Add method adds a filename to the DataObject.Files collection (sftCFFiles format only).

The Files collection is filled with file names only when the DataObject object contains data of type sftCFFiles. The DataObject object can contain several different types of data. You can iterate through the collection to retrieve the list of file names.

See Also DataObjectFiles Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.