---
title: "Codeunit 3056 DotNet_Capture"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/3056-dotnet-capture/
type: codeunit
id: 3056
name: "DotNet_Capture"
app: "Base Application"
versions: "17-21"
build: 21.5.53619.63803
obsolete: "Pending 18.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 3056 DotNet_Capture

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3056-dotnet-capture/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-21 |
| Obsolete | Pending 18.0, seen from 17. This codeunit is obsolete. Use the Captures table in the Regex Module instead. |
| Source file | DotNet Wrappers/DotNetCapture.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Index | () | Integer | public | 17-21 | - | - |
| Length | () | Integer | public | 17-21 | - | - |
| Value | () | Text | public | 17-21 | - | - |
| Equals | (var Codeunit DotNet_Capture) | Boolean | public | 17-21 | - | - |
| GetHashCode | () | Integer | public | 17-21 | - | - |
| IsDotNetNull | () | Boolean | public | 17-21 | - | - |
| GetCapture | (var DotNet Capture) | - | public | 17-21 | - | - |
| SetCapture | (var DotNet Capture) | - | public | 17-21 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
