Item Property


Returns a FormElement object from the collection.

Index parameter specifies the index of the element in the collection. If Index is out of range, automation error occurs.

Item is the default property of the collection.


Value Type: MailBee.FormElement
Parameters:  
Index As Long Index of the element to return. Allowed range is: 1 <= Index <= FormElements.Count  
Remarks: This property is read-only

Usage example:

' This sample writes the name of the last HTML-form element

<% Set Uploader = Server.CreateObject("MailBee.Uploader")
Uploader.ParseRequest Request.BinaryRead(Request.TotalBytes)
If (Uploader.FormElements.Count <> 0) Then
   Set FormElement = Uploader.FormElements(Uploader.FormElements.Count)
   Response.Write FormElement.Name
End If %>

See Also:

Count Property | Uploader Object


Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.