# ImportantPropertyAttribute class

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

```cs
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public class ImportantPropertyAttribute : Attribute
```

Defines attributes to be assigned to properties on IDocumentObject classes.

## Constructors

- [ImportantPropertyAttribute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.importantpropertyattribute/ctor.md): (3 overloads) Default constructor for ObjectPropertyAttributes. This will include the property value during serialization.

## Properties

- [DefaultValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.importantpropertyattribute/defaultvalue.md): Gets the default value for this property.
- [Presets](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.importantpropertyattribute/presets.md): Gets a collection of presets for this attribute.
