Method HttpMessagePart() :getPart() Foundation
Gets a part added to a message.
:getPart( <cName>|<nOrdinal> ) --> oHttpMessagePart | NIL
:getPart() returns an HttpMessagePart object. If a part with a corresponding name or ordinal does not exist, the method returns the value NIL.
The method :getPart() gets a part which was added to a message. The <cName> parameter specifies the name of the part to retrieve. This corresponds to the name attribute of the "Content-Disposition" HTTP header. Alternatively, the ordinal number of the part in the message's internal part list can be specified using the <nOrdinal> parameter.
For accessing a part via its ordinal, the number of parts currently defined in a message can be determined with the method :getPartCount().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.