Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 3.14 KB

-search-sample-structuredquerysample.md

File metadata and controls

76 lines (48 loc) · 3.14 KB
description ms.assetid title ms.topic ms.date
The StructuredQuerySample code sample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.
9bb56d80-670e-4b2b-bf3f-40d0a75a89b6
StructuredQuerySample
article
05/31/2018

StructuredQuerySample

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

This topic contains the following sections.

Requirements

Product Product Version
Windows Windows 7, 8.1, or 10
Windows SDK 7.0 or greater

Downloading the Sample

This sample is available in the following location.

Location Path URL
GitHub StructuredQuerySample

Note

For all versions of Windows, including Windows 7, it is recommended to download the samples directly from GitHub for the most up to date version.

Building the Sample

  1. Open Windows Explorer and navigate to the StructuredQuerySample project directory.

  2. Double-click the icon for the StructuredQuerySample.sln file to open the project in Visual Studio.

    [!NOTE]
    The sln file was created under an older version of Visual Studio, thus upgrading it will be required if you are running Visual Studio 2012 or newer. This will not impact the sample's behavior.

  3. From the Build menu, select Build Solution.

Running the Sample

  1. Navigate to the directory that contains the new executable, using the Command Prompt window or Windows Explorer.
  2. At the command prompt, enter StructuredQuerySample.exe, or from Windows Explorer, double-click the icon for StructuredQuerySample.exe.

Related topics

Reference

ICondition

ICondition2

IConditionFactory

IConditionFactory2

IConditionGenerator

IQueryParser

IQueryParserManager

IQuerySolution

Other Samples

Search Code Samples