# Set

> Sets the property value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

## Set(T, AssignType)

Sets the property value.

```csharp
public void Set(T value, AssignType assignType)
```

### Parameters

**** (T): Property value.**** (\[AssignType]\(/engine/6000.7/script-reference/unity/android/gradle/assigntype)): Property assign type.

### Remarks

Unity throws an exception if one of the parent elements was removed from the file or has a raw value set.

## Set(T)

Sets the property value.

```csharp
public virtual void Set(T value)
```

### Parameters

**** (T): Property value.

### Remarks

Unity throws an exception if one of the parent elements was removed from the file or has a raw value set.
