---
title: "outlineView(_:appEntityIdentifierFor:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/nstableviewappintentsdatasource/outlineview(_:appentityidentifierfor:)"
---

# outlineView(_:appEntityIdentifierFor:)

Asks the data source to return an app entity identifier for a particular item in the outline view.

## Declaration

```swift
@MainActor func outlineView(_ outlineView: NSOutlineView, appEntityIdentifierFor item: Any?) -> EntityIdentifier?
```

## Parameters

- `outlineView`: The outline-view object asking for the app entity identifier.
- `item`: The specified item in the outline view.

## Return Value

Return Value The app entity identifier for the item at the specified location in the outline view.
