# Query class

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

```cs
public sealed class Query
```

A single fragment in a query string.

## Constructors

- [Query](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/ctor.md)

## Properties

- [Guid](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/guid.md): Plugin Guid in case the type references plugins.
- [Text](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/text.md): Query text.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/type.md): Query type.

## Methods

- [Create](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/create.md): (static) Create a new query element from a query fragment.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.framework.query/op-implicit.md): (static)
