Click or drag to resize

ISelectionAddMember Method

AddMember Adds a new member to the selection.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void AddMember(
	int ContactId,
	int PersonId
)

Parameters

ContactId
Type: SystemInt32
Long, the database internal identity for the company
PersonId
Type: SystemInt32
Long, the database internal identity for the contact person
Examples

AddMember

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

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    objSO.CurrentSelection.AddMember 1,1
    MsgBox "A new selection member is added to the current selection ", vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also