# GetCustomPropertyInt64<T>(T)

> Check whether a custom property is a long 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 long GetCustomPropertyInt64<T>(T propertyEnum) where T : struct
```

### Parameters

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

### Returns

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