Click or drag to resize

SOInterests Methods

The SOInterests type exposes the following members.

Methods
  NameDescription
Public method_Clear
Remove all the elements in the collection
(Inherited from IInterests.)
Public method_Remove
Remove an item by id
(Inherited from IInterests.)
Public methodCode exampleAdd
Add an interest to the collection. Returns the new interest. The interest id is a person-interest or a contact-interest Creates a new Interest object, initialises it with the given values and adds it to the end of the Interest collections.
(Inherited from IInterests.)
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.
(Inherited from IInterests.)
Public methodGetEnumerator (Inherited from IInterests.)
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.

(Inherited from IInterests.)
Top
See Also