
## idx_get {#idx_get}

Gets the instance of the RiskPattern class for the specified task.

**Returns:** the pattern for the specified task.

```cpp
idx_get(const System::SharedPtr< Task > & task)
```

| Parameter | Description |
| --- | --- |
| task | the specified task. |

