Click or drag to resize

ICriteria Interface

Criteria - a collection of Criterion objects indexed by internal id. Add a new criterion using NewCriterion, then Add it to the collection.

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

The ICriteria type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleCount
Count - returns the number of items in the collection
Public propertyCode exampleEmpty
Returns true if the collection is empty. i.e. if it contains no elements
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 the criterion Add a new SoCriterion to the collection
Public methodCode exampleExists
Returns true if the given item exists in the collection
Public methodCode exampleGetCriterion
Get an existing criterion for a regular field. TableAndFieldName returnvalue is on the format 'tablename.fieldname' Get an SOCriterion object from the collection
Public methodGetEnumerator
Public methodCode exampleGetUdefCriterion
Get an existing criterion for a userdefined field
Public methodCode exampleNewCriterion
Create a new criterion for a regular field. TableAndFieldName parameter is on the format 'tablename.fieldname' Creates a new SOCriterion object
Public methodCode exampleNewUdefCriterion
Create a new criterion for a userdefined field Creates a new SOCriterion object based on a user defined field
Public methodCode exampleRemove
Remove the criterion Remove a criterion from the collection
Public methodCode exampleRemoveCriterion
Remove the criterion for a regular field. TableAndFieldName parameter is on the format 'tablename.fieldname' Remove a criterion from the collection Find and remove a criterion from the collection
Public methodCode exampleRemoveUdefCriterion
Remove the criterion for a userdefined field Remove a criterion from the collection
Public methodCode exampleSave
Save all the criteria
Public methodCode exampleUpdate
Update the criterion
Top
See Also