Multipart
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_mime_multipart_get_type ()" ) ]
public class Multipart :
Object
A base MIME multipart object.
Content:
Creation methods:
Methods:
- public void @foreach (ObjectForeachFunc callback)
Recursively calls callback on each of
this's subparts.
- public virtual void add (Object part)
Appends a mime part to this.
- public virtual void clear ()
Removes all subparts from this.
- public virtual bool contains (Object part)
Checks if part is contained within
this.
- public virtual unowned string get_boundary ()
Gets the boundary on the multipart.
- public virtual int get_count ()
Gets the number of parts contained within
this.
- public unowned string get_epilogue ()
Gets the epilogue on the multipart.
- public virtual unowned Object get_part (int index)
Gets the part at the specified index within the
multipart.
- public unowned string get_prologue ()
Gets the prologue on the multipart.
- public unowned Object get_subpart_from_content_id (string content_id)
Gets the mime part with the content-id content_id from
the multipart this.
- public virtual int index_of (Object part)
Gets the 0-based index of part within
this.
- public virtual void insert (int index, Object part)
Inserts part into this
at the specified index.
- public virtual bool remove (Object part)
Removes the specified part from
this.
- public virtual Object remove_at (int index)
Removes the part at the specified index from
this.
- public Object replace (int index, Object replacement)
Replaces the part at the specified index within
this with replacement.
- public virtual void set_boundary (string boundary)
Sets boundary as the boundary on the multipart.
- public void set_epilogue (string epilogue)
Sets the epilogue on the multipart.
- public void set_prologue (string prologue)
Sets the prologue on the multipart.
Fields:
Inherited Members:
All known members inherited from class GMime.Object
All known members inherited from class GLib.Object