# IResult interface

Namespace: [Grasshopper2.Parsing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parsing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IResult
```

Interface for parsing results.

**Derived types:** [Result<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.result-1.md)

## Properties

- [After](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/after.md): Gets the index within the source string where the substring for this parse ends, or in the case of a failed parse where the error block ends.
- [Error](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/error.md): Failure in case of a unsuccessful parse.
- [Start](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/start.md): Gets the index within the source string where the substring for this parse starts, or in the case of a failed parse where the error block starts.
- [Success](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/success.md): Gets whether the parsing was successful.
- [Text](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/text.md): Gets the substring indicated by this result.
- [Value](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/value.md): Gets the value stored in this result.

## Methods

- [WithValue<Q>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parsing.iresult/withvalue.md): Create a new result with the same coverage but a different value.
