Logged out, click to login

JEDI Online help - Details

Back to unit JvDataProviderIntf.pas Back Edit Search Administration


Delete an item given an index.

Index - Index of the item to delete.

Delete deletes the item specified by the Index parameter.<br> <br> If the item list is a static list (i.e. IJvDataItems.IsDynamic returns False) there is a chance the item being deleted is still referenced outside the provider. Using that reference might then lead to<br> Access Violations.<br> <br> If the item list is a dynamic list (i.e. IJvDataItems.IsDynamic returns True) the deletion will normally be performed (i.e. the reference is removed from the list) but the item might still be referenced and usable after this fact. This will lead to the strange situation of<br> IJvDataItem.GetItems referring to the IJvDataItems interface, but the list no longer contains that item.<br>

See Also
IJvDataItemsManagement.Add, IJvDataItemsManagement.Remove

Last changed by obones on 2009-01-04 21:13:59 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library