Click or drag to resize

SOCriteria Methods

The SOCriteria type exposes the following members.

Methods
  NameDescription
Public method_Clear
Remove all the elements in the collection
(Inherited from ICriteria.)
Public method_Remove
Remove an item by id
(Inherited from ICriteria.)
Public methodCode exampleAdd
Add the criterion Add a new SoCriterion to the collection
(Inherited from ICriteria.)
Public methodCode exampleExists
Returns true if the given item exists in the collection
(Inherited from ICriteria.)
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
(Inherited from ICriteria.)
Public methodGetEnumerator (Inherited from ICriteria.)
Public methodCode exampleGetUdefCriterion
Get an existing criterion for a userdefined field
(Inherited from ICriteria.)
Public methodCode exampleNewCriterion
Create a new criterion for a regular field. TableAndFieldName parameter is on the format 'tablename.fieldname' Creates a new SOCriterion object
(Inherited from ICriteria.)
Public methodCode exampleNewUdefCriterion
Create a new criterion for a userdefined field Creates a new SOCriterion object based on a user defined field
(Inherited from ICriteria.)
Public methodCode exampleRemove
Remove the criterion Remove a criterion from the collection
(Inherited from ICriteria.)
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
(Inherited from ICriteria.)
Public methodCode exampleRemoveUdefCriterion
Remove the criterion for a userdefined field Remove a criterion from the collection
(Inherited from ICriteria.)
Public methodCode exampleSave
Save all the criteria
(Inherited from ICriteria.)
Public methodCode exampleUpdate
Update the criterion
(Inherited from ICriteria.)
Top
See Also