---
title: OSDictionarySetStringValue
framework: driverkit
role: symbol
role_heading: Function
path: driverkit/osdictionarysetstringvalue
---

# OSDictionarySetStringValue

## Declaration

```occ
void OSDictionarySetStringValue(OSDictionaryPtr obj, const char *key, const char *value);
```

## See Also

### Getting and Setting Values

- [OSDictionaryGetValue](driverkit/osdictionarygetvalue.md)
- [OSDictionaryGetStringValue](driverkit/osdictionarygetstringvalue.md)
- [OSDictionaryGetUInt64Value](driverkit/osdictionarygetuint64value.md)
- [OSDictionarySetValue](driverkit/osdictionarysetvalue.md)
- [OSDictionarySetUInt64Value](driverkit/osdictionarysetuint64value.md)
- [OSDictionaryPtr](driverkit/osdictionaryptr.md)
