How to: Find Topics with Sample Code
With filtering, you can restrict your search to include only those topics or articles that include example code or samples. This technique can be useful if you are attempting to learn a new programming language or use an unfamiliar language element.
To find topics that include code
From the Help menu, choose Search.
Choose Topic Type and then select Contains Code and Sample Applications.
In search box, type a string and then click Search.
For example, if you searched for "puzzle" and filter on topic types Contains Code and Sample Application, you would find information about the TilePuzzle samples, among others.
Nota
The exact number of matches for your search depends on whether or not you have chosen to include online sources in Help searches. For more information, see Help Sources: Local Help and Online Help.