---
title: "RequestHead.Query property"
canonical: https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead/Query
---

# RequestHead.Query property

The query string as name and value pairs, in the order they appear in the URL.

```csharp
public IReadOnlyList<KeyValuePair<string, string>> Query { get; }
```

## Remarks

It is a list, not a dictionary, because a name can appear more than once. A name with no `=` has an empty value. Names and values are as the client sent them: they are not percent-decoded, and a `+` is not turned into a space.

## Examples

The value of `name`, or null when the query has none:

```csharp
string? name = request.Query.FirstOrDefault(pair => pair.Key == "name").Value;
```

## See Also

- class [RequestHead](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk/Isoplane/RequestHead)
- namespace [Isoplane](https://isoplane.dev/docs/reference/sdk/Isoplane.Sdk)
