> ## 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/2025-r1/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

The plus.

`minus` ExpressionValueVariable

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

### Plus

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

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

#### Property Value

ExpressionValueVariable
