---
title: "itemIdentifiers(inSection:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/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](uikit/nsdiffabledatasourcesnapshot-swift.struct/itemidentifiers.md)
- [sectionIdentifiers](uikit/nsdiffabledatasourcesnapshot-swift.struct/sectionidentifiers.md)
- [indexOfItem(_:)](uikit/nsdiffabledatasourcesnapshot-swift.struct/indexofitem(_:).md)
- [indexOfSection(_:)](uikit/nsdiffabledatasourcesnapshot-swift.struct/indexofsection(_:).md)
- [sectionIdentifier(containingItem:)](uikit/nsdiffabledatasourcesnapshot-swift.struct/sectionidentifier(containingitem:).md)
