AndSearchCriterion Method (Utility Control)
Windows - Visual C++
Description
The AndSearchCriterion method
creates a search string in which two search criterion have been
"ANDed" together.
Syntax
long result =
AndSearchCriterion(LPCTSTR inputString1, LPCTSTR inputString2);
The AndSearchCriterion syntax has these parts:
Part |
Description |
inputString1 |
A String containing the text for one of the search criterion, as described in Remarks. |
inputString2 |
A String containing the text for the other search criterion, as described in Remarks. |
result |
Return value. A long integer containing 0 if successful and 1 if not. |
Remarks
The search criterion for the
inputString1 and inputString2 parameters are created using the CreateSearchCriterion method.
After AndSearchCriterion is called, the resulting search string is stored in the SearchString property. The SearchString property is used to set the Headline control's SearchCriteria property.
See Also: CreateSearchCriterion SearchString SearchCriteria
Back to: Utility Methods