# Ignore

# Ignore

Artifact:[androidx.room:room-common](https://developer.android.com/jetpack/androidx/releases/room)  
[View Source](https://cs.android.com/search?q=file:androidx/room/Ignore.kt+class:androidx.room.Ignore)  
Added in[2.0.0](https://developer.android.com/jetpack/androidx/releases/room#2.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/room/Ignore "View this page in Java")
Common/AllAndroid/JVMNative/C/iOSJavaScript
  - Cmn  

  ```
  @Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.FIELD, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.PROPERTY_GETTER])
  @Retention(value = AnnotationRetention.BINARY)
  annotation Ignore
  ```

*** ** * ** ***

Ignores the marked element from Room's processing logic.

This annotation can be used in multiple places where Room processor runs. For instance, you can add it to a field of an[Entity](https://developer.android.com/reference/kotlin/androidx/room/Entity)and Room will not persist that field.

## Summary

|                                  ### Public constructors                                   |
|--------------------------------------------------------------------------------------------|-----|
| [Ignore](https://developer.android.com/reference/kotlin/androidx/room/Ignore#Ignore())`()` | Cmn |

## Public constructors

### Ignore

Cmn  

```
Ignore()
```