SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Adds a filename to the DataObject.Files collection (sftCFFiles format only).
VB.NET | object.Add(ByVal Filename As String, [ ByVal ItemIndex As Object ] ) |
VB | object.Add(ByVal Filename As String, [ ByVal ItemIndex As Variant ] ) |
C#.NET | void object.Add(string Filename, object ItemIndex); |
VC++ | HRESULT object->Add(_bstr_t Filename, const _variant_t& ItemIndex = vtMissing); |
C | HRESULT object->raw_Add(BSTR Filename, VARIANT ItemIndex); |
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.
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