# TrySetValue

## TrySetValue<T>(IValueSetter, ref T)

public static bool TrySetValue<T>(this IValueSetter valueSetter, ref T value) ;

### Description

Set the value.

### Type Parameters

Type Parameter Name | Description | Type Constraints
--- | --- | ---
T | value type |

### Parameters

Parameter Name | Description
--- | ---
valueSetter | Instance to set value
value | value

### Returns

Returns true if the value could be set. Otherwise returns false.