---
title: "Codeunit 3057 DotNet_CaptureCollection"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/3057-dotnet-capturecollection/
type: codeunit
id: 3057
name: "DotNet_CaptureCollection"
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 3057 DotNet_CaptureCollection

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3057-dotnet-capturecollection/

| | |
| --- | --- |
| 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/DotNetCaptureCollection.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Count | () | Integer | public | 17-21 | - | - |
| IsReadOnly | () | Boolean | public | 17-21 | - | - |
| Item | (Integer, var Codeunit DotNet_Capture) | - | public | 17-21 | - | - |
| CopyTo | (var Codeunit DotNet_Array, Integer) | - | public | 17-21 | - | - |
| Equals | (var Codeunit DotNet_CaptureCollection) | Boolean | public | 17-21 | - | - |
| GetHashCode | () | Integer | public | 17-21 | - | - |
| IsDotNetNull | () | Boolean | public | 17-21 | - | - |
| GetCaptureCollection | (var DotNet CaptureCollection) | - | public | 17-21 | - | - |
| SetCaptureCollection | (var DotNet CaptureCollection) | - | 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.
