InternetAddressList
Object Hierarchy:
Description:
[ CCode ( cname = "InternetAddressList" , type_id = "internet_address_list_get_type ()" ) ]
public class InternetAddressList : Object
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 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