Click or drag to resize

IEmailRank Property

Position in list The ‘rank’ of the email address. Every email address has a rank, where rank=1 indicates the preferred email address

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 email address rank
Examples

Rank

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

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

See Also