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

# clsTaskSourceCodeCollection

Read-only lookup collection representing the available task source systems.

## Purpose
- Provide the full source-system list and map between stored codes and the shared `TaskSourceSystem` enum.

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| cAudioVisual | `Const As String = "AV"` | Expose the Audio Visual source code. |
| cBatch | `Const As String = "BATCH"` | Expose the Batch source code. |
| cClaimBillPayment | `Const As String = "CBP"` | Expose the Claim Bill Payment source code. |
| cClaims | `Const As String = "CLAIM"` | Expose the Claims source code. |
| cClaimCost | `Const As String = "CLMC"` | Expose the Claim Cost source code. |
| cCoverageB | `Const As String = "COVB"` | Expose the Coverage B source code. |
| cManageClaims | `Const As String = "CLMM"` | Expose the Manage Claims source code. |
| cImaging | `Const As String = "IMAGE"` | Expose the Imaging source code. |
| cLegalNet | `Const As String = "LEGAL"` | Expose the LegalNet source code. |
| cProvider | `Const As String = "PROV"` | Expose the Provider source code. |
| cReturnToWork | `Const As String = "RTW"` | Expose the Return to Work source code. |
| cThirdParty | `Const As String = "THRDP"` | Expose the Third Party source code. |
| cTitan | `Const As String = "TITAN"` | Expose the Titan source code. |
| cWCIS | `Const As String = "WCIS"` | Expose the WCIS source code. |
| Item(Index) | `Default ReadOnly Property(ByVal Index As Integer) As clsTaskSourceCode` | Return the source row at the supplied collection index. |
| Item(inCode) | `Default ReadOnly Property(ByVal inCode As String) As clsTaskSourceCode` | Return the source row for the supplied stored code. |
| Item(inTaskSourceSystem) | `Default ReadOnly Property(ByVal inTaskSourceSystem As TaskSourceSystem) As clsTaskSourceCode` | Return the source row for the supplied enum value. |
| Description(Index) | `ReadOnly Property(ByVal Index As Integer) As String` | Return the description for the row at the supplied collection index. |
| Description(inCode) | `ReadOnly Property(ByVal inCode As String) As String` | Return the description for the supplied stored code. |
| Description(inSourceSystem) | `ReadOnly Property(ByVal inSourceSystem As TaskSourceSystem) As String` | Return the description for the supplied enum value. |
| Contains(inTaskSourceCode) | `Overloads Function Contains(ByVal inTaskSourceCode As clsTaskSourceCode) As Boolean` | Return whether the active (non-deleted) list contains a row equal to `inTaskSourceCode`. |
| Contains(inCode) | `Overloads Function Contains(ByVal inCode As String) As Boolean` | Return whether the active (non-deleted) list contains a row matching `inCode`. |
| ContainsDeleted(inTaskSourceCode) | `Overloads Function ContainsDeleted(ByVal inTaskSourceCode As clsTaskSourceCode) As Boolean` | Return whether the deleted-items list contains a row equal to `inTaskSourceCode`. |
| ContainsDeleted(inCode) | `Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean` | Return whether the deleted-items list contains a row matching `inCode`. |
| GetCodes(inDataPortalInfo) | `Shared Function(ByVal inDataPortalInfo As IDataPortalInfo) As clsTaskSourceCodeCollection` | Retrieve the full source-system lookup set. |
| TaskSource(inCode) | `Shared Function(ByVal inCode As String) As TaskSourceSystem` | Map a stored source code to the shared enum value. |
| TaskSourceCode(inSourceSystem) | `Shared Function(ByVal inSourceSystem As TaskSourceSystem) As String` | Map a shared enum value back to its stored source code. |

## Behavioral notes
- Loads rows from `TASK_SOURCE_CODE` through [SQL-012](../../sql/SQL-012-task-source-code-list.md).

## Constraints and usage notes
- Collection indexing is available by ordinal position, stored code, or enum value.

## Sources
- `Business\SAIF.Business.Tasks\clsTaskSourceCodeCollection.vb`
