Click or drag to resize

ISOPictureDelete Method

Delete picture from the database.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void Delete()
Examples
VB
Dim db As New Database
If db.Login("<username>", "<password>") Then
    Dim person As SOPerson = db.GetPerson(2)
    If person.HasPicture Then
        person.Picture.Delete()
    End If
    person.Save()
Else
    MsgBox("could not log on")
End If
See Also