---
jsApi: true
title: "[F] setResourceTypeKey"

---
```ts
setResourceTypeKey(
  program,
  resourceType,
  keyProperty): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `resourceType` | `Model` |
| `keyProperty` | `ModelProperty` |

## Returns

`void`
