# Convert<TSource, TDestination>(ref TSource)

> Converts the specified value from TSource to TDestination.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.5/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## Convert\<T, U>(T)

```csharp
public static TDestination Convert<TSource, TDestination>(ref TSource value)
```

### Parameters

**** (T): The source value to convert.

### Returns

| Type | Description                                     |
| ---- | ----------------------------------------------- |
| T    | The value converted to the `TDestination` type. |
