ICondition::GetInputTerms Method
For a leaf node, ICondition::GetInputTerms retrieves information about what parts (or ranges) of the input string produced the property, the operation, and the value for the search condition node.
Syntax
HRESULT GetInputTerms( IRichChunk **ppPropertyTerm, IRichChunk **ppOperationTerm, IRichChunk **ppValueTerm );
Parameters
- ppPropertyTerm
- [out] Receives a pointer to an IRichChunk interface that provides information about what part of the input string produced the property of the leaf node, if that can be determined; otherwise, this parameter is set to NULL.
- ppOperationTerm
- [out] Receives a pointer to an IRichChunk interface that provides information about what part of the input string produced the operation of the leaf node, if that can be determined; otherwise, this parameter is set to NULL.
- ppValueTerm
- [out] Receives a pointer to an IRichChunk interface that provides information about what part of the input string produced the value of the leaf node, if that can be determined; otherwise, this parameter is set to NULL.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Any or all of the parameters ppPropertyTerm, ppOperationTerm and ppValueTerm can be NULL.
Each IRichChunk object retrieved by this method represents a range of tokens from the input string. The range tokens identifies the substring that produced the property, operation, or value of the input string. The IRichChunk's PROPVARIANT out parameter is not used.
See Also
Community Additions
Show: