# Instruction.InstructionValue Property

> Gets the value that is set by the specified action when the defined requirements of the ConditionalInstruction.Conditions array are fulfilled.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > Instruction.InstructionValue Property
- **583 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/instructionvalue-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/instructionvalue-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/instructionvalue-property/llms-full.txt

---

### Description

Gets the value that is set by the specified action when the defined requirements of the [ConditionalInstruction.Conditions](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/conditionalinstruction/conditions-property/llms-full.txt) array are fulfilled.

### Syntax

```csharp
public object InstructionValue { get; }
```

```vbnet
Public ReadOnly Property InstructionValue As Object
```

### Examples

The following example builds a rule around an approval check box in a fillable form by using `Instruction.InstructionValue`.

```csharp
CheckFormField approvalField = new(false) { Name = "Approved" };
textControl.FormFields.Add(approvalField);
Instruction instruction = new(approvalField, Instruction.InstructionTypes.IsEnabled, true);

Console.WriteLine($"Instruction Value: {instruction.InstructionValue}");
Console.WriteLine("Instruction is ready for use.");
```

```vbnet
Dim approvalField As New CheckFormField(False) With { .Name = "Approved" }
textControl.FormFields.Add(approvalField)
Dim instruction As New Instruction(approvalField, Instruction.InstructionTypes.IsEnabled, True)

Console.WriteLine($"Instruction Value: {instruction.InstructionValue}")
Console.WriteLine("Instruction is ready for use.")
```

### Limitations

Read only.

### Remarks

The value represents the constructor's `instructionValue` parameter value.

---

## Nearby

- **Previous:** [Instruction.InstructionTypes Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/instructiontypes-enumeration/llms-full.txt)
- **Next:** [Instruction.IsElseInstructionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/iselseinstructionenabled-property/llms-full.txt)
