---
title: code
framework: intents
role: symbol
role_heading: Instance Property
path: intents/increatenoteintentresponse/code
---

# code

The code indicating whether you successfully handled the intent.

## Declaration

```swift
var code: INCreateNoteIntentResponseCode { get }
```

## Discussion

Discussion The value of this property is set at initialization time and cannot be changed later.

## See Also

### Getting the Response Code

- [INCreateNoteIntentResponseCode](intents/increatenoteintentresponsecode.md)
