Click or drag to resize

IUrlsRemove 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
<see cref="P:SuperOffice.COM.SuperOfficeDB.IUrl.Id">url.id</see>
Examples

Remove

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

This will remove the first URL of the collection.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    objSO.CurrentContact.Urls.Remove (1)
    MsgBox "The first URL of the current contact is removed from the collection"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also