Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataItems.GetItemByID

Summary
Retrieve an item from the list given its ID (or ID path).

Parameters
ID - The ID or ID-path of the item to retrieve.

Description
GetItemByID retrieves a Data Item from the list given its ID or ID-path. Each item will be initiated with an ID value which should be unique throughout the tree - although this is not enforced - and this method allows to retrieve an item given that ID.<br> <br> The path is always considered relative to this list. If the ID string starts with a backslash (or forward slash; both are allowed), the path is considered from the root of the provider (GetProvider.GetItems).<br> <br> Each '..' is considered as '1 level up the tree'.<br> <br> As soon as a term in the path can't be retrieved the entire result will be nil. This can happen when to many '..' terms appear or one of the ID's in the path can't be found.<br>

See Also
IJvDataItem.GetID, IJvDataItems.GetItem, IJvDataItems.GetItemByIndexPath

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

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