# IGH_ContextualParameter2 interface

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public interface IGH_ContextualParameter2 : IGH_ContextualParameter
```

Version 2 of Base interface for contextual parameters. This makes accessing non-strongly-typed functionality easier.

## Methods

- [ClearContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter2/clearcontextualdata.md): Clear previously assigned collection of values as contextual data

## Inherited Members

- From [IGH_ContextualParameter](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter.md): [AtLeast](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/atleast.md), [AtMost](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/atmost.md), [ContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/contextualdata.md), [Immediate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/immediate.md), [Prompt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/prompt.md), [AssignContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/assigncontextualdata.md), [AutoAssignContextualData](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-contextualparameter/autoassigncontextualdata.md)
