
282 CHAPTER 4
SetSearchCriteria
SetSearchCriteria
Use this method to set the search criteria to be used in the current
search.
Syntax
PCDGetDoc.SetSearchCriteria( objPropList )
PCDLookup.SetSearchCriteria( objPropList )
PCDPutDoc.SetSearchCriteria( objPropList )
PCDRecentDoc.SetSearchCriteria( objPropList )
PCDSearch.SetSearchCriteria( objPropList )
Parameter
Returns
Returns an HRESULT to receive the result of the call. S_OK indicates
success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.
Usage
Instead of adding criteria one property pair at a time, this method lets
you set a collection of search criteria using a PCDPropertyList object.
Any previously existing search properties are deleted when the
SetSearchCriteria method executes.
Related Items
See the following objects:
PCDGetDoc
PCDLookup
PCDPropertyList
PCDPutDoc
PCDRecentDoc
objPropList An object variable that points to a
PCDPropertyList object.
Komentarze do niniejszej Instrukcji