SftButton/OCX 2.5

DataObject.Files Property

Softel vdm, Inc.

A collection of filenames used by the sftCFFiles format.

Syntax       

Get

VB.NET

Files = object.Files  As DataObjectFiles

VB

Set Files = object.Files  As DataObjectFiles

C#.NET

DataObjectFiles Files = object.Files;

VC++

IVDMDataObjectFiles* Files = object->Files;
IVDMDataObjectFiles* Files = object->GetFiles();

C

HRESULT object->get_Files(struct IVDMDataObjectFiles** Files);

Delphi

Files := object.Files  : IVDMDataObjectFiles;

object

A DataObject object.

Files

Returns a DataObjectFiles object reference which can be used to access the file names in the collection.

Comments

The Files property contains a collection of filenames used by the sftCFFiles format.

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 Item property to retrieve the list of file names.

The Files collection can be filled to allow an application to act as a drag source for a list of files (similar to Windows Explorer).


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com