# GetElements()

> Invoked when the property table needs all view elements not necessarily sorted.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
IEnumerable<SearchItem> GetElements()
```

### Returns

| Type                                                                                                        | Description                                              |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [IEnumerable\<SearchItem>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | Enumerate all search items to be displayed in the table. |
