# RuleNegate class

Namespace: [Grasshopper2.Data.Rules](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.data.rules.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[DebuggerDisplay("{Notation}")]
public sealed class RuleNegate : IRule
```

Represents a rule that negates another rule.

## Constructors

- [RuleNegate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulenegate/ctor.md): Create a negation of another rule.

## Properties

- [Notation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulenegate/notation.md): Gets the string notation/representation for this type.

## Methods

- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulenegate/apply.md): Applies this type to an integer.
