# Sandbox.Internal.TypeLibrary.SetProperty

```csharp
bool SetProperty(object target, string name, object value)
```

Set a named property on given object.
Will perform extra magic for string inputs and try to convert to target property type.

### Parameters

- `target` (`object`): The target object to set a named property on.
- `name` (`string`): Name of the property to set.
- `value` (`object`): Value for the property.

### Returns

`bool`: Whether the property was set or not.

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
