# Prose.KeyValueFragment struct

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

```cs
public readonly struct Prose.KeyValueFragment
```

## Constructors

- [Prose.KeyValueFragment](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/ctor.md): Create a new fragment.

## Properties

- [Key](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/key.md): Gets the key text of this pair. This string never contains leading or trailing whitespace.
- [KeyEnd](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/keyend.md): Gets the character index within the line of the last character of the key string. This will be -1 if there is no key string.
- [KeyStart](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/keystart.md): Gets the character index within the line of the first character of the key string. This will be -1 if there is no key string.
- [Value](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/value.md): Gets the value text of this pair. This string never contains leading or trailing whitespace.
- [ValueEnd](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/valueend.md): Gets the character index within the line of the last character of the value string.
- [ValueStart](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.keyvaluefragment/valuestart.md): Gets the character index within the line of the first character of the value string.
