The following example shows you how to search for contacts with "myproperty" property set to true. The property is set in Outlook custom form and has data type boolean.