---
title: endSubelementIdentifier
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nswhosespecifier/endsubelementidentifier
---

# endSubelementIdentifier

Sets the end sub-element identifier for the specifier to the value of a given sub-element.

## Declaration

```swift
var endSubelementIdentifier: NSWhoseSpecifier.SubelementIdentifier { get set }
```

## Parameters

- `subelement`: The end sub-element for the receiver.

## See Also

### Accessing information about a whose specifier

- [endSubelementIndex](foundation/nswhosespecifier/endsubelementindex.md)
- [startSubelementIdentifier](foundation/nswhosespecifier/startsubelementidentifier.md)
- [startSubelementIndex](foundation/nswhosespecifier/startsubelementindex.md)
- [test](foundation/nswhosespecifier/test.md)
