Click or drag to resize

IInterests Interface

Collection of Interest objects on a contact or person, indexed by internal id

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
public interface IInterests : IMapCollection

The IInterests type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleCount
Count - returns the number of items in the collection The count of members of this collection
Public propertyCode exampleEmpty
Returns true if the collection is empty. i.e. if it contains no elements Checks whether the collection is empty (has no members) or not
Public propertyItem
Top
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 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.
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