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 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:structuredquery.IConditionFactory2.CreateLeaf |
IConditionFactory2::CreateLeaf (structuredquery.h) |
Creates a leaf condition node for any value. The returned object supports ICondition and ICondition2. |
|
search\_search_IConditionFactory2_CreateLeaf.htm |
search |
VS|SEARCH|~\search\wds3x\reference\ifaces\querying\iconditionfactory\createleaf.htm |
12/05/2018 |
CreateLeaf, CreateLeaf method [search], CreateLeaf method [search],IConditionFactory2 interface, IConditionFactory2 interface [search],CreateLeaf method, IConditionFactory2.CreateLeaf, IConditionFactory2::CreateLeaf, _search_IConditionFactory2_CreateLeaf, search._search_IConditionFactory2_CreateLeaf, structuredquery/IConditionFactory2::CreateLeaf |
structuredquery.h |
Windows |
Windows 7 [desktop apps only] |
Windows Server 2008 R2 [desktop apps only] |
Structuredquery.idl |
Windows |
19H1 |
|
|
|
|
|
|
Creates a leaf condition node for any value. The returned object supports ICondition and ICondition2.
Type: REFPROPERTYKEY
The name of the property of the leaf condition as a REFPROPERTYKEY. If the leaf has no particular property, use PKEY_Null.
Type: CONDITION_OPERATION
A CONDITION_OPERATION enumeration. If the leaf has no particular operation, then use COP_IMPLICIT.
Type: REFPROPERTYKEY
The property value of the leaf condition as a REFPROPERTYKEY.
Type: LPCWSTR
The name of a semantic type of the value, or NULL for a plain string. If the newly created leaf is an unresolved named entity, pszSemanticType should be the name of a semantic type, otherwise NULL.
Type: LPCWSTR
The name of the locale to be compared, or NULL for an unspecified locale. If propvar does not contain a string value, then pszLocaleName should be LOCALE_NAME_USER_DEFAULT; otherwise, pszLocaleName should reflect the language the string. Alternatively, pszLocaleName could be LOCALE_NAME_INVARIANT.
Type: IRichChunk*
A pointer to an IRichChunk that identifies the range of the input string that represents the property. It can be NULL.
Type: IRichChunk*
A pointer to an IRichChunk that identifies the range of the input string that represents the operation. It can be NULL.
Type: IRichChunk*
A pointer to an IRichChunk that identifies the range of the input string that represents the value. It can be NULL.
Type: CONDITION_CREATION_OPTIONS
The condition creation operation of the leaf condition as the CONDITION_CREATION_OPTIONS enumeration.
Type: REFIID
The desired IID of the enumerating interface: either IEnumUnknown, IEnumVARIANT, or (for a negation condition) IID_ICondition.
Type: void**
Receives a pointer to zero or more ICondition and ICondition2 objects.
This method does not return a value.
For default options, use the CONDITION_CREATION_DEFAULT flag.
If the leaf condition was obtained by parsing a string, one or more of the parameters pPropertyNameTerm, pOperationTerm and pValueTerm may be represented by an IRichChunk interface (obtained through the ICondition::GetInputTerms method). Otherwise all three parameters can be NULL.
For more information about leaf node terms (property, value, and operation), see ICondition::GetInputTerms.
A virtual property has one or more metadata items in which the key is "MapsToRelation" and the value is a property name (which is one expansion of the property). For more information about metadata, see MetaData.
Reference