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

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3053-dotnet-matchcollection/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Count | () | Integer | public | 17-21 | - | - |
| Item | (Integer, var Codeunit DotNet_Match) | - | public | 17-21 | - | - |
| CopyTo | (var Codeunit DotNet_Array, Integer) | - | public | 17-21 | - | - |
| Equals | (var Codeunit DotNet_MatchCollection) | Boolean | public | 17-21 | - | - |
| GetHashCode | () | Integer | public | 17-21 | - | - |
| IsDotNetNull | () | Boolean | public | 17-21 | - | - |
| GetMatchCollection | (var DotNet MatchCollection) | - | public | 17-21 | - | - |
| SetMatchCollection | (var DotNet MatchCollection) | - | 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.
