# GetDescriptor()

> Get the Descriptor which corresponds to this ID.

## Definition

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

```csharp
public Descriptor GetDescriptor()
```

### Returns

| Type                                                                                    | Description                                                                             |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [Descriptor](/engine/6000.6/script-reference/unity/projectauditor/editor/descriptor.md) | The Descriptor which corresponds to this ID. If the ID is invalid, throws an exception. |
