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

# clsZipCodeCollection

Typed collection of ZIP code master records used by assignment and territory lookup workflows.

## Purpose
- Typed collection of ZIP code master records used by assignment and territory lookup workflows.

## 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 clsZipCode` | Returns the collection's current item strongly typed as `Zip Code`. |
| FilterPropertyName | `Public ReadOnly Property FilterPropertyName(ByVal inFilterEnumValue As FilterProperty) As String` | Meaning of `FilterPropertyName` could not be confirmed beyond its compiled implementation context.** |
| 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 inclsZipCode As clsZipCode) As Integer` | Adds the supplied business object to the collection and returns its index. |
| Contains | `Public Overloads Function Contains(ByVal inclsZipCode As clsZipCode) As Boolean` | Returns `True` when the collection already contains the supplied business object. |
| Contains | `Public Overloads Function Contains(ByVal inZipCode As String) As Boolean` | Returns `True` when the collection already contains the supplied business object. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inclsZipCode As clsZipCode) As Boolean` | Returns `True` when the deleted-items list already contains the supplied business object. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inZipCode As String) As Boolean` | Returns `True` when the deleted-items list already contains the supplied business object. |
| NewZipCodeCollection | `Public Shared Function NewZipCodeCollection(ByVal inDataportal As IDataPortalInfo) As clsZipCodeCollection` | Creates a new unsaved zip code collection initialized with the data-portal context needed for validation and save operations. |
| GetAllZipCodes | `Public Shared Function GetAllZipCodes(ByVal inDataportal As IDataPortalInfo) As clsZipCodeCollection` | Loads the full set of ZIP codes available to this query.* |
## Behavioral notes
- This type is part of the premium-audit library's public surface.

## Constraints and usage notes



> **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.Policy.Audit.Premium\clsZipCodeCollection.vb`
