---
title: getTargetAndMethodForIndex
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iouserclient/3553399-gettargetandmethodforindex
---

# getTargetAndMethodForIndex

## Declaration

```occ
IOExternalMethod * getTargetAndMethodForIndex(OSSharedPtr<IOService> & targetP, UInt32 index);
```
