Add is a
TIdMessagePart function that is disabled for the collection. Add always returns Nil as the return value. Add is disabled to prevent adding the ancestor class
TIdMessagePart to the collection. Use
TIdText.Create and
TIdAttachment.Create to add the new collection item to the collection identified by the Collection parameter.