Removes a filename from the Files collection of a DataObject object (sftCFFiles format only).
| 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); |
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.
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.
See Also DataObjectFiles Object | Object Hierarchy