# GetCustomPropertyInt32<T>(T)

> Check whether a custom property is an integer type and return its value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.7/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

```csharp
public int GetCustomPropertyInt32<T>(T propertyEnum) where T : struct
```

### Parameters

**** (T): Enum value indicating a property.

### Returns

| Type                                                       | Description                                                                                                      |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns the property's value if the property is valid and if the value is an integer type. Otherwise, returns 0. |
