Click or drag to resize

IEmails Methods

The IEmails type exposes the following members.

Methods
  NameDescription
Public method_Clear
Remove all the elements in the collection
Public method_Remove
Remove an item by id
Public methodCode exampleAdd
Add an e-mail address to the collection. Creates a new Email object, initialises it with the given values and adds it to the end of the Email collections
Public methodCode exampleExists
Returns true if the given item exists in the collection Checks whether there exists a member in the collection at the given index
Public methodGetEnumerator
Public methodCode exampleRemove
Remove an item by index

Remove a specific member from the collection. The remove is now forwarded to the model for database action.

Note you still have to say SaveModel at some point to make the changes permanent

Top
See Also