---
title: getTargetAndMethodForIndex
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iostreamuserclient/1576521-gettargetandmethodforindex
---

# getTargetAndMethodForIndex

## Declaration

```occ
virtual IOExternalMethod * getTargetAndMethodForIndex(IOService **targetP, UInt32 index);
```
