# GetExcludeProperty(string)

> Gets an "exclude" property by value.

## Definition

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

```csharp
public PropertyString GetExcludeProperty(string value)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Packaging option value.

### Returns

| Type                                                                                     | Description |
| ---------------------------------------------------------------------------------------- | ----------- |
| [PropertyString](/engine/6000.3/script-reference/unity/android/gradle/propertystring.md) |             |

### Remarks

For more information about the file, see Android's documentation: [exclude](https://developer.android.com/reference/tools/gradle-api/com/android/build/api/dsl/Packaging#exclude\(kotlin.String\))
