ActiveXPowUpload 1.2.0.5
FormItems collection properties
  Home page
Contact support

FormItems collection provides access to items of the form items list. You cannot create the FormItems collections directly. The FormItems collection is returned by the FormItemsColl property of the ActiveXPowUpload object.

Count property

Item property

_NewEnum property

Count

Long Count {get}

Number of items in the collection.

The FormItemCount property returns the same.

Example

var cnt = ActiveXPowUpload.FormItemsColl.count; // number of items in the form items list

Item

Variant Item(Index:Variant) {get}

Provides access to individual items of the collection.

This property is a default property, it can be omitted. Instead of ActiveXPowUpload.FormItemsColl.Item(0) you may simply write ActiveXPowUpload.FormItemsColl(0).

_NewEnum

IUnknown* _NewEnum {get}

Returns an enumeration over the form items list.

Description

First of all, you should never use this property directly. This property allows you to use the vbscript For-Each statement to iterate over FormItems collection. See UploadItems and DownloadItems collections for examples.

Enumeration mechanism guarantees that each item of the collection will be visitted and only once, assuming the collection is not modified during enumeration. The order in which items are visitted is not specified.