---
title: clsAuditEventCollection
summary: API reference for clsAuditEventCollection.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Audit.Premium
reference_type: package
---

# clsAuditEventCollection

Typed child collection of audit lifecycle events that loads and saves the event history attached to an audit.

## Purpose
- Typed child collection of audit lifecycle events that loads and saves the event history attached to an audit.

## Context
- Namespace: `SAIF.Business.Policy.Audit.Premium`
- Assembly/package: `SAIF.BOF.Business.Policy.Audit.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| CurrentItem | `Public Shadows ReadOnly Property CurrentItem() As clsAuditEvent` | Returns the collection's current item strongly typed as `Audit Event`. |
| Save | `Public Overrides Function Save() As Boolean` | Persists pending changes in the collection and its tracked child objects through the BOF data portal. |
| Add | `Public Shadows Function Add(ByVal inclsAuditEvent As clsAuditEvent) As Integer` | Adds the supplied business object to the collection and returns its index. |
| Contains | `Public Overloads Function Contains(ByVal inclsAuditEvent As clsAuditEvent) As Boolean` | Returns `True` when the collection already contains the supplied business object. |
| Contains | `Public Overloads Function Contains(ByVal inAuditSeqNum As Decimal) As Boolean` | Returns `True` when the collection already contains an item with the supplied sequence/key value. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inclsAuditEvent As clsAuditEvent) As Boolean` | Returns `True` when the deleted-items list already contains the supplied business object. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inAuditSeqNum As Decimal) As Boolean` | Returns `True` when the deleted-items list already contains an item with the supplied sequence/key value. |
| GetAuditEventCollection | `Public Shared Function GetAuditEventCollection(ByVal inDataportal As IDataPortalInfo, ByVal inAuditSeqNum As Decimal) As clsAuditEventCollection` | Loads audit event collection through the BOF data portal using the supplied keys and criteria. |
## Behavioral notes
- This type is part of the premium-audit library's public surface.

## Constraints and usage notes


## Sources
- `Business\SAIF.Business.Policy.Audit.Premium\clsAuditEventCollection.vb`
