> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Struct Restriction

Namespace: [VM.API.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre)\
Assembly: VM.API.Pre.dll

This struct represents the Restriction

```csharp theme={null}
public struct Restriction
```

## Constructors

### Restriction()

Default constructor

```csharp theme={null}
public Restriction()
```

### Restriction(ExpressionValueVariable, ExpressionValueVariable)

Initializes a new instance of the restriction class.

```csharp theme={null}
public Restriction(ExpressionValueVariable plus, ExpressionValueVariable minus)
```

#### Parameters

`plus` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The plus.

`minus` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The minus.

## Properties

### Minus

The value for the minus. The default value is 0.

```csharp theme={null}
public ExpressionValueVariable Minus { readonly get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### Plus

The value for the plus. The default value is 0.

```csharp theme={null}
public ExpressionValueVariable Plus { readonly get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)
