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

# clsClaimUnitCollection

Collection wrapper for claim-unit reporting rows.

## Purpose

- Retrieve all claim-unit rows associated with a policy unit, including inactive rows.

## Context

- Namespace: `SAIF.Business.UnitStat`
- Assembly/package: `SAIF.Business.UnitStat` (distributed as NuGet package `SAIF.BOF.Business.UnitStat`)

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `CurrentItem` | `Public Shadows ReadOnly Property CurrentItem() As clsClaimUnit` | Gets current item. |
| `IsValid` | `Public Overrides ReadOnly Property IsValid() As Boolean` | Indicates whether valid. |
| `IsDirty` | `Public Shadows ReadOnly Property IsDirty() As Boolean` | Indicates whether dirty. |
| `Save` | `Public Overrides Function Save() As Boolean` | Executes the member operation. |
| `Add` | `Public Shadows Function Add(ByVal inClaimUnit As clsClaimUnit) As Integer` | Executes the member operation. |
| `Contains` | `Public Overloads Function Contains(ByVal inClaimUnit As clsClaimUnit) As Boolean` | Executes the member operation. |
| `Contains` | `Public Overloads Function Contains(ByVal inPolicyUnitSeqNum As Object) As Boolean` | Executes the member operation. |
| `ContainsDeleted` | `Public Overloads Function ContainsDeleted(ByVal inClaimUnit As clsClaimUnit) As Boolean` | Executes the member operation. |
| `ContainsDeleted` | `Public Overloads Function ContainsDeleted(ByVal inPolicyUnitSeqNum As Object) As Boolean` | Executes the member operation. |
| `Remove` | `Public Overloads Sub Remove(ByVal inPolicyUnitSeqNum As Object)` | Executes the member operation. |
| `NewClaimUnitCollection` | `Public Shared Function NewClaimUnitCollection(ByVal inDataportal As IDataPortalInfo) As clsClaimUnitCollection` | Creates a new claim unit collection instance. |
| `NewClaimUnitCollection` | `Public Shared Function NewClaimUnitCollection(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyUnitSeqNum As Decimal) As clsClaimUnitCollection` | Creates a new claim unit collection instance. |
| `GetClaimUnits` | `Public Shared Function GetClaimUnits(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyUnitSeqNum As Decimal) As clsClaimUnitCollection` | Retrieves claim units. |
| `ToString` | `Public Overrides Function ToString() As String` | Executes the member operation. |

## Inherited public members

Members in this section are inherited from `clsBusinessCollectionBase` in `SAIF.BOF.Framework`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `MyGuid` | `ReadOnly Property MyGuid() As String` | Gets the framework GUID assigned to the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `ItemByGuid` | `ReadOnly Property ItemByGuid(ByVal inGuid As String) As clsBusinessBase` | Gets a child item by framework GUID. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `Rules` | `ReadOnly Property Rules() As clsRulesManager` | Gets the rules manager attached to the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `ErrorCount` | `ReadOnly Property ErrorCount() As Integer` | Gets the current validation error count. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `ErrorMessages` | `ReadOnly Property ErrorMessages() As String()` | Gets the current validation error messages. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `WarningCount` | `ReadOnly Property WarningCount() As Integer` | Gets the current validation warning count. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `WarningMessages` | `ReadOnly Property WarningMessages() As String()` | Gets the current validation warning messages. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `BeginEdit` | `Sub BeginEdit()` | Begins an editable snapshot for the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `CancelEdit` | `Sub CancelEdit()` | Restores the prior editable snapshot for the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `ApplyEdit` | `Sub ApplyEdit()` | Commits the current editable snapshot for the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `Clone` | `Function Clone() As Object` | Creates a clone of the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `IsManaged` | `ReadOnly Property IsManaged() As Boolean` | Indicates whether the collection uses managed save behavior. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `CurrentIndex` | `ReadOnly Property CurrentIndex() As Integer` | Gets the current traversal index. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `XMLElementName` | `Property XMLElementName() As String` | Gets or sets the XML element name used by framework serialization. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `XMLItemName` | `Property XMLItemName() As String` | Gets or sets the serialized item element name. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `GetReportXML` | `Function GetReportXML(Optional ByVal inFileStream As System.IO.StreamWriter = Nothing) As String` | Returns framework report XML for the collection. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |
| `ToXML` | `Function ToXML() As String` | Serializes the collection to XML. | `SAIF.BOF.Framework — clsBusinessCollectionBase` |

## Behavioral notes

- The collection retrieval path includes inactive claim-unit rows.

## Constraints and usage notes

- No additional constraints were surfaced in the supplied findings.

## Sources

- `Business\SAIF.Business.UnitStat\clsClaimUnitCollection.vb`
- `Legacy\BusinessObjectFramework\clsBusinessCollectionBase.vb`
