# labels

> The labels to match.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.SearchService](/engine/6000.5/script-reference/unityengine/searchservice.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Removed.** ObjectSelectorHandlerWithLabelsAttribute has been deprecated. Use SearchContextAttribute instead.

```csharp
public string[] labels { get; }
```
