# GetDescription(SearchContext, bool)

> Fetch and format description.

## Definition

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

```csharp
public string GetDescription(SearchContext context, bool stripHTML = false)
```

### Parameters

**** (\[SearchContext]\(/engine/6000.6/script-reference/unityeditor/search/searchcontext)): Any search context for the item search provider.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if any HTML tags should be dropped (if the control does not support HTML).

### Returns

| Type                                                           | Description                  |
| -------------------------------------------------------------- | ---------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The search item description. |
