SftButton/OCX 2.5

DataObjectFiles.Remove Method

Softel vdm, Inc.

Removes a filename from the Files collection of a DataObject object (sftCFFiles format only).

Syntax       

VB.NET

object.Remove(ByVal ItemIndex As Object)

VB

object.Remove(ByVal ItemIndex As Variant)

C#.NET

void object.Remove(object ItemIndex);

VC++

HRESULT object->Remove(const _variant_t& ItemIndex);

C

HRESULT object->raw_Remove(VARIANT ItemIndex);

Delphi

procedure object.Remove(ItemIndex : OleVariant);

object

A DataObjectFiles object.

ItemIndex

The one-based position of the file name to be removed as an Integer or the filename to be removed as a String.

Comments

The Remove method removes a filename from the Files collection of a DataObject object (sftCFFiles format only).

To remove all the file names from the Files collection, use the Clear method.


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