[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

returns the stored object for an internal ID.

Namespace: Db4objects.Db4o.Ext
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function GetByID ( _
	ID As Long _
) As Object
C#
Object GetByID (
	long ID
)
Visual C++
Object^ GetByID (
	long long ID
)

Parameters

ID
System.Int64
the internal ID

Return Value

the object associated with the passed ID or
 Copy imageCopy Code
null
, if no object is associated with this ID in this
 Copy imageCopy Code
ObjectContainer
.

Remarks

returns the stored object for an internal ID.

This is the fastest method for direct access to objects. Internal IDs can be obtained with getID(Object) . Objects will not be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

See Also