# SetAndMode Method

## Overloads

| [SetAndMode(Boolean)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Field.SetAndMode.htm#Qlik_Engine_Field_SetAndMode_System_Boolean_) |  | Sets a field in the AND mode. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Field.SetAndMode.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Field.SetAndMode.htm)

## SetAndMode(Boolean)

Sets a field in the AND mode.

### Declaration

```

          public void SetAndMode([QixName("qAndMode")] bool andMode)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Boolean | andMode | Specifies if the AND mode applies to the field.<br>Set this parameter to true to enter the AND mode. |

### Implements

[IField.SetAndMode(Boolean)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IField.SetAndMode.htm#Qlik_Engine_IField_SetAndMode_System_Boolean_)