# PropertyAccessor class

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

```cs
public sealed class PropertyAccessor
```

Access public properties of a specific type instance.

## Constructors

- [PropertyAccessor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertyaccessor/ctor.md): (3 overloads) Load all public get/set properties of an instance that pass a filter.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertyaccessor/count.md): Gets the number of associated properties.
- [Instance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertyaccessor/instance.md): Gets the instance this accessor is associated with.
- [Properties](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertyaccessor/properties.md): Enumerate over all properties.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.propertyaccessor/item.md): Gets the type property at the given index.
