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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref