# AsInt()

> Get the hashed integer representation of the ID

## Definition

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

```csharp
public int AsInt()
```

### Returns

| Type                                                       | Description      |
| ---------------------------------------------------------- | ---------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The ID as an int |
