Click or drag to resize

SOInterests 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 SOInterests : IInterests

The SOInterests 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
(Inherited from IInterests.)
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
(Inherited from IInterests.)
Public propertyItem (Inherited from IInterests.)
Top
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