# TypedValueDictionary.SetValue

Kind: Method  
Namespace: `Sisk.Core.Entity`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Entity.TypedValueDictionary.SetValue.html

## SetValue(string, object?) {#Sisk_Core_Entity_TypedValueDictionary_SetValue_System_String_System_Object_}

Sets the value associated with the specified key.

```csharp
public void SetValue(string key, object? value)
```

### Parameters

`key` [string](https://learn.microsoft.com/dotnet/api/system.string)

The key of the value to set.

`value` [object](https://learn.microsoft.com/dotnet/api/system.object)?

The value to set.
