---
title: "itemIdentifiers(inSection:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsdiffabledatasourcesnapshot-swift.struct/itemidentifiers(insection:)"
---

# itemIdentifiers(inSection:)

Returns the identifiers of all of the items in the specified section of the snapshot.

## Declaration

```swift
func itemIdentifiers(inSection identifier: SectionIdentifierType) -> [ItemIdentifierType]
```

## Parameters

- `identifier`: The identifier of the section of the snapshot.

## Return Value

Return Value An array of identifiers of the items contained in the section.

## See Also

### Identifying Items and Sections

- [itemIdentifiers](appkit/nsdiffabledatasourcesnapshot-swift.struct/itemidentifiers.md)
- [sectionIdentifiers](appkit/nsdiffabledatasourcesnapshot-swift.struct/sectionidentifiers.md)
- [indexOfItem(_:)](appkit/nsdiffabledatasourcesnapshot-swift.struct/indexofitem(_:).md)
- [indexOfSection(_:)](appkit/nsdiffabledatasourcesnapshot-swift.struct/indexofsection(_:).md)
- [sectionIdentifier(containingItem:)](appkit/nsdiffabledatasourcesnapshot-swift.struct/sectionidentifier(containingitem:).md)
