SftButton/OCX 2.5

DataObjectFiles.Item Property

Softel vdm, Inc.

Returns a specific filename by index from the Files collection of a DataObject object (sftCFFiles format only).

Syntax       

Get

VB.NET

Item = object.Item(ByVal ItemIndex As Integer)  As String

VB

Item = object.Item(ByVal ItemIndex As Long)  As String

C#.NET

string Item = object[int ItemIndex];

VC++

_bstr_t Item = object->Item[long ItemIndex];
_bstr_t Item = object->GetItem(long ItemIndex);

C

HRESULT object->get_Item(long ItemIndex, BSTR* Item);

Delphi

Item := object.Item[ItemIndex : Integer]   : WideString;

object

A DataObjectFiles object.

ItemIndex

The one-based position of the file name to be retrieved.

Item

Returns the file name at position ItemIndex in the Files collection of a DataObject object (sftCFFiles format only). 

Comments

The Item property returns a specific filename by index from the Files collection of a DataObject object (sftCFFiles format only).

This property can be used to retrieve file names from the Files collection.


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