<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/ShowInAppSearchResultsIntent/criteria-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents06ShowInA19SearchResultsIntentP8criteria8CriteriaQzvp"
  },
  "title" : "criteria"
}
-->

# criteria

The information to use when performing the search.

```
var criteria: Self.Criteria { get set }
```

## Discussion

Use this property to get the search terms or other criteria to use when you perform a search. You specify the search criteria
you support when you define your custom type. For example, set the type of this property to [`StringSearchCriteria`](/documentation/AppIntents/StringSearchCriteria)
to match items against a string value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)