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

# clsPhoneInfo

`clsPhoneInfo` provides the phone business object used by the customer-contact library.

## Purpose
- Phone business object used by the customer-contact library.

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| PhoneID | `Public ReadOnly Property PhoneID() As Decimal` | Returns or sets the phone identifier exposed by this type. |
| PhoneCode | `Public Property PhoneCode() As String` | Returns or sets the phone classification code. |
| IsLongDistance | `Public ReadOnly Property IsLongDistance As Boolean` | Returns the boolean state exposed by this type. |
| ForeignPhoneNumber | `Public Property ForeignPhoneNumber As String` | Returns or sets the value exposed by this member. |
| PhoneTypeDescription | `Public ReadOnly Property PhoneTypeDescription As String` | Returns the descriptive text for the current phone code. |
| UpdateDate | `Public ReadOnly Property UpdateDate As Date` | Returns the date value exposed by this type. |
| UpdateUser | `Public ReadOnly Property UpdateUser As String` | Returns the user field exposed by this type. |
| SetPhoneCodeNull | `Public Sub SetPhoneCodeNull()` | Clears the PhoneCode value and marks the object dirty. |
| IsPhoneCodeNull | `Public Function IsPhoneCodeNull() As Boolean` | Returns whether the PhoneCode value is empty. |
| Equals | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Compares objects using this type's identity field(s). |
| Equals | `Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean` | Compares objects using this type's identity field(s). |
| Equals | `Public Overloads Function Equals(ByVal inObject As clsPhoneInfo) As Boolean` | Compares objects using this type's identity field(s). |
| GetHashCode | `Public Overrides Function GetHashCode() As Integer` | Returns a hash code derived from the type's identifier. |
| ToString | `Public Overrides Function ToString() As String` | Returns a compact string representation for this type. |
| NewPhone | `Public Shared Function NewPhone(ByVal inDataportal As IDataPortalInfo) As clsPhoneInfo` | Creates a new business object through the BOF data portal. |
| GetPhone | `Public Shared Function GetPhone(ByVal inDataportal As IDataPortalInfo, ByVal inPhoneID As Decimal) As clsPhoneInfo` | Retrieves an existing business object through the BOF data portal. |

## Behavioral notes
- Factory methods route creation and retrieval through the BOF data portal.

## Constraints and usage notes
- Set the classification code and phone value before saving a usable phone record.

## Sources
- `Business\SAIF.Business.CustomerContact\clsPhoneInfo.vb`
