-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.MultipartForm.GetElement
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
libcURL.MultipartForm.GetElement
Function GetElement(Index As Integer) As libcURL.MultipartFormElement
Function GetElement(Name As String) As Integer
Name | Type | Comment |
---|---|---|
Index | Integer | The index of the element to get. |
Name | Type | Comment |
---|---|---|
Name | String | The name of the element to get. |
If you specify the name this method returns the index of the first element with that name, or -1
if no element matches the name. If you pass the index then this method returns a reference to the MultipartFormElement at that index; if the index is out of bounds then an OutOfBoundsException will be raised.
This method allows you to enumerate the form elements. Pass the name of the form element to get its index, pass the index to get a reference to the element itself.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.