# ParseResult<T>

> A ParseResult represents the result of a parsing operation.

## Definition

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

```csharp
public readonly struct ParseResult<T>
```

## Remarks

\\\<T\\>: Type of the result of the parsing operation.

ParseResults are used in the context of type parsers. See QueryEngine.AddTypeParser for more details.

## Fields

| Value                                                                                         | Description         |
| --------------------------------------------------------------------------------------------- | ------------------- |
| [parsedValue](/engine/6000.7/script-reference/unityeditor/search/parseresult1/parsedvalue.md) | The parsing result. |

## Static Fields

| Value                                                                           | Description                                      |
| ------------------------------------------------------------------------------- | ------------------------------------------------ |
| [none](/engine/6000.7/script-reference/unityeditor/search/parseresult1/none.md) | Default value when no ParsetResult is available. |

## Constructors

| Constructor                                                                                                   | Description           |
| ------------------------------------------------------------------------------------------------------------- | --------------------- |
| [ParseResult\`1(System.Boolean,\`0)](/engine/6000.7/script-reference/unityeditor/search/parseresult1/ctor.md) | Create a ParseResult. |

## Properties

| Property                                                                              | Description                                      |
| ------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [success](/engine/6000.7/script-reference/unityeditor/search/parseresult1/success.md) | Flag indicating if the parsing succeeded or not. |
