NotSearchCriterion Method (Utility Control)
   Windows - Visual C++
   Description
   The NotSearchCriterion method 
   creates a search string in which two search criterion have been 
   "NOTed" together.
   Syntax
   long result = 
   NotSearchCriterion(LPCTSTR InoutString1, LPCTSTR InputString2);
The NotSearchCriterion 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 NotSearchCriterion 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