Click or drag to resize

IPhoneRank Property

Rank starts at 1 and should be unique within a collection Every phone number has a rank, where rank=1 indicates the preferred phone number

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
int Rank { get; set; }

Property Value

Type: Int32
Long – the objects phone numbers rank
Examples

Rank

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

This will return the current contacts first phone number rank (this should in most all cases give you the number 0).

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "Current contact first phone numbers rank: " & objSO.Currentcontact.Phones.Item(1).rank, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also