GMime.InternetAddressList – gmime-3.0 Reference Manual
Packages
gmime-3.0
GMime
InternetAddressList
parse
InternetAddressList
add
append
append_parse
clear
contains
encode
get_address
index_of
insert
length
prepend
remove
remove_at
set_address
to_string
array
InternetAddressList
Object Hierarchy:
Description:
[
CCode
( cname =
"InternetAddressList"
, type_id =
"internet_address_list_get_type ()"
) ]
public
class
InternetAddressList
:
Object
A collection of
InternetAddress
objects.
Namespace:
GMime
Package:
gmime-3.0
Content:
Static methods:
public
static
InternetAddressList
?
parse
(
ParserOptions
? options,
string
str)
Construct a list of internet addresses from the given string.
Creation methods:
public
InternetAddressList
()
Creates a new
InternetAddressList
.
Methods:
public
int
add
(
InternetAddress
ia)
Adds an
InternetAddress
to the
InternetAddressList
.
public
void
append
(
InternetAddressList
append)
Adds all of the addresses in
append
to
this
.
public
void
append_parse
(
ParserOptions
? options,
string
str)
Adds all of the addresses in
str
to
this
.
public
void
clear
()
Clears the list of addresses.
public
bool
contains
(
InternetAddress
ia)
Checks whether or not the specified
InternetAddress
is contained within the
InternetAddressList
.
public
void
encode
(
FormatOptions
? options,
StringBuilder
str)
Writes the rfc2047-encoded rfc822 formatted addresses in
this
to
str
, folding appropriately.
public
unowned
InternetAddress
get_address
(
int
index)
Gets the
InternetAddress
at the specified index.
public
int
index_of
(
InternetAddress
ia)
Gets the index of the specified
InternetAddress
inside the
InternetAddressList
.
public
void
insert
(
int
index,
InternetAddress
ia)
Inserts an
InternetAddress
into the
InternetAddressList
at the specified index.
public
int
length
()
Gets the length of the list.
public
void
prepend
(
InternetAddressList
prepend)
Inserts all of the addresses in
prepend
to the beginning of
this
.
public
bool
remove
(
InternetAddress
ia)
Removes an
InternetAddress
from the
InternetAddressList
.
public
bool
remove_at
(
int
index)
Removes an
InternetAddress
from the
InternetAddressList
at the specified index.
public
void
set_address
(
int
index,
InternetAddress
ia)
Sets the
InternetAddress
at the specified index to
ia
.
public
string
?
to_string
(
FormatOptions
? options,
bool
encode)
Allocates a string buffer containing the rfc822 formatted addresses in
this
.
Fields:
public
unowned
GenericArray
<
void
*>
array
Inherited Members:
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