IPropertyDescription::GetConditionType method (propsys.h)
Gets the condition type and default condition operation to use when displaying the property in the query builder UI. This influences the list of predicate conditions (for example, equals, less than, and contains) that are shown for this property.
Syntax
HRESULT GetConditionType(
[out] PROPDESC_CONDITION_TYPE *pcontype,
[out] CONDITION_OPERATION *popDefault
);
Parameters
[out] pcontype
Type: PROPDESC_CONDITION_TYPE*
A pointer to a value that indicates the condition type.
[out] popDefault
Type: CONDITION_OPERATION*
When this method returns, contains a pointer to a value that indicates the default condition operation.
Return value
Type: HRESULT
Always returns S_OK.
Remarks
For more information, see the conditionType attribute of the typeInfo element in the property's .propdesc file.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | propsys.h |