Click or drag to resize

IPhonesRemove Method

Remove an item by index

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void Remove(
	int Index
)

Parameters

Index
Type: SystemInt32
The index of the phone to be removed from the collection
Examples

Remove

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
    objSO.CurrentContact.Phones.Remove (1)
    MsgBox "The first phone of the current contact is deleted�
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also