Click or drag to resize

ICriteria Methods

The ICriteria type exposes the following members.

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