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.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
public interface ICriteria : IMapCollection

The ICriteria type exposes the following members.

Properties
  NameDescription
Public propertyCount
Count - returns the number of items in the collection
Public propertyEmpty
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 methodAdd
Add the criterion
Public methodExists
Returns true if the given item exists in the collection
Public methodGetCriterion
Get an existing criterion for a regular field. TableAndFieldName returnvalue is on the format 'tablename.fieldname'
Public methodGetEnumerator
Public methodGetUdefCriterion
Get an existing criterion for a userdefined field
Public methodNewCriterion
Create a new criterion for a regular field. TableAndFieldName parameter is on the format 'tablename.fieldname'
Public methodNewUdefCriterion
Create a new criterion for a userdefined field
Public methodRemove
Remove the criterion
Public methodRemoveCriterion
Remove the criterion for a regular field. TableAndFieldName parameter is on the format 'tablename.fieldname'
Public methodRemoveUdefCriterion
Remove the criterion for a userdefined field
Public methodSave
Save all the criteria
Public methodUpdate
Update the criterion
Top
See Also