Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 3.23 KB

nn-structuredquerycondition-icondition.md

File metadata and controls

83 lines (60 loc) · 3.23 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:structuredquerycondition.ICondition
ICondition (structuredquerycondition.h)
Provides methods for retrieving information about a search condition.
ICondition
ICondition interface [search]
ICondition interface [search]
described
_search_ICondition
search._search_ICondition
structuredquerycondition/ICondition
search\_search_ICondition.htm
search
VS|search|~\search\wds3x\reference\ifaces\querying\icondition\icondition.htm
12/05/2018
ICondition, ICondition interface [search], ICondition interface [search],described, _search_ICondition, search._search_ICondition, structuredquerycondition/ICondition
structuredquerycondition.h
Windows
Windows XP with SP2, Windows Vista, Windows 7 [desktop apps only]
Windows Server 2003 with SP1 [desktop apps only]
Structuredquerycondition.idl
Windows
Windows Desktop Search (WDS) 3.0
19H1
ICondition
structuredquerycondition/ICondition
c++
APIRef
kbSyntax
COM
Structuredquerycondition.h
ICondition

ICondition interface

-description

Provides methods for retrieving information about a search condition. An ICondition object represents the result of parsing an input string (using methods such as IQueryParser::Parse or IQuerySolution::GetQuery) into a tree of search condition nodes. A node can be a logical AND, OR, or NOT for comparing subnodes, or it can be a leaf node comparing a property and a constant value.

-inheritance

The ICondition interface inherits from IPersistStream. ICondition also has these types of members:

-remarks

Prior to Windows 7, this interface was only declared in structuredquery.h and structuredquery.idl. In Windows 7, this interface is also defined in structuredquerycondition.idl and structuredquerycondition.h.

The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

-see-also

CONDITION_OPERATION

CONDITION_TYPE

ICondition2

IPersistStream

Reference