# Sandbox.Internal.TypeLibrary.CreateProperty

## Overload 1

```csharp
SerializedProperty CreateProperty(string title, System.Func<T> get, System.Action<T> set, System.Attribute[] attributes = null, SerializedObject parent = null)
```

### Parameters

- `title` (`string`)
- `get` (`System.Func<T>`)
- `set` (`System.Action<T>`)
- `attributes` (`System.Attribute[]`), default `null`
- `parent` (`SerializedObject`), default `null`

### Returns

`SerializedProperty`

## Overload 2

```csharp
SerializedProperty CreateProperty(string title, SerializedObject so, System.Attribute[] attributes = null, SerializedObject parent = null)
```

Create a serialized property from a SerializedObject

### Parameters

- `title` (`string`)
- `so` (`SerializedObject`)
- `attributes` (`System.Attribute[]`), default `null`
- `parent` (`SerializedObject`), default `null`

### Returns

`SerializedProperty`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
