addBytesPart procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Adds any arbitrary part to a MultipartMessage.
Syntax
|
Applies to
Message objects
Notes
- The part can be text or binary. The Sonic message is created as usual.
- A content type and a content ID must be specified.
- To conserve resources, after calling this procedure, the application must delete the memory pointer (represented by memptr).
See also
createMultipartMessage procedure, addMessagePart procedure, addTextPart procedure, isMessagePart function, getPartCount function, getContentType, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMemptr function
For more information, see the MultipartMessage and the MultiPartMessage example.