Add.6 |
Scroll |
Looks up field number for the specified field ID, creates a new TheCondition instance with the found field number, the specified condition string and UTC setting and adds the new condition to the list.
Namespace: Therefore.API
Visual Basic Public Overridable Function Add ( _ strFieldID As String, _ strCondition As String, _ bIsUTC As Boolean _ ) C# public virtual void Add ( string strFieldID, string strCondition, bool bIsUTC )
Parameters strFieldID Field ID of the field the new condition applies to.
strCondition Condition string for the new condition. See TheCondition.Condition for details.
bIsUTC Sets the TheCondition.IsUTC. If true, the condition values will not be converted to UTC. If false, the condition values will be converted to UTC.
Return Value None. |
|
Performance Note For higher performance use Add(TheCondition pCondition) if the TheCondition object you want to add already exists and Add(int nFieldNo, string strCondition, bool bIsUTC) if the TheCondition object does not exist but the field number is known. |