---
title: clsLegacyTaskCodeCollection
summary: API reference for clsLegacyTaskCodeCollection.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Tasks.Claim
reference_type: package
---

# clsLegacyTaskCodeCollection

clsLegacyTaskCodeCollection is a public class declared in `Business\SAIF.Business.Tasks.Claim\clsLegacyTaskCodeCollection.vb`. Collection of legacy task code records.

## Purpose
- Collection of legacy task code records.

## Context
- Namespace: `SAIF.Business.Tasks.Claim`
- Assembly/package: `SAIF.Business.Tasks.Claim`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Item | `Default Public ReadOnly Property Item(ByVal Index As Integer) As clsLegacyTaskCode` | Gets or sets item. |
| Item | `Default Public ReadOnly Property Item(ByVal inLegacyTaskCode As String) As clsLegacyTaskCode` | Gets or sets item. |
| MyCriteria | `Public ReadOnly Property MyCriteria() As Criteria` | Gets or sets my criteria. |
| Add | `Public Shadows Function Add(ByVal inLegacyTaskCode As clsLegacyTaskCode) As Integer` | Returns or resolves add. |
| GetLegacyTaskCodeCollection | `Public Shared Function GetLegacyTaskCodeCollection(ByVal inDataportal As IDataPortalInfo) As clsLegacyTaskCodeCollection` | Returns or resolves get legacy task code collection. |

## Behavioral notes
- This type participates in the `SAIF.Business.Tasks.Claim` public API surface.
- Persistence and validation behavior depend on the containing BOF object model when this type is a business entity or criteria type.*

## Constraints and usage notes
- Use the type through its owning BOF workflow or collection when applicable.
- Nested criteria and helper types are usually instantiated by the library rather than by external callers directly.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.Tasks.Claim\clsLegacyTaskCodeCollection.vb`
