-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.MIMEMessage.GetElement
Andrew Lambert edited this page Jan 28, 2018
·
3 revisions
libcURL.MIMEMessage.GetElement
Function GetElement(Index As Integer) As libcURL.MIMEMessagePart
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 MIMEMessagePart at that index; if the index is out of bounds then an OutOfBoundsException will be raised.
This method allows you to enumerate the message parts. Pass the name of the message part to get its index, pass the index to get a reference to the part 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.