Table of Contents

Enum StructuredQueryMultipleOption

Namespace
Microsoft.WindowsAPICodePack.Shell
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Provides a set of flags to be used with IQueryParser::SetMultiOption to indicate individual options.

public enum StructuredQueryMultipleOption

Fields

DefaultProperty = 1

The key should be a value type name V. The value should be a VT_LPWSTR with a property name P. A predicate with no property name and a value of type V (or any subtype of V) will then use property P.

GeneratorForType = 2

The key should be a value type name V. The value should be a VT_UNKNOWN with a IConditionGenerator G. The GenerateForLeaf method of G will then be applied to any predicate with value type V and if it returns a query expression, that will be used. If it returns NULL, normal processing will be used instead.

MapProperty = 3

The key should be a property name P. The value should be a VT_VECTOR|VT_LPWSTR, where each string is a property name. The count must be at least one. This "map" will be added to those of the loaded schema and used during resolution. A second call with the same key will replace the current map. If the value is VT_NULL, the map will be removed.

VirtualProperty = 0

The key should be property name P. The value should be a VT_UNKNOWN with an IEnumVARIANT which has two values: a VT_BSTR that is another property name Q and a VT_I4 that is a CONDITION_OPERATION cop. A predicate with property name P, some operation and a value V will then be replaced by a predicate with property name Q, operation cop and value V before further processing happens.