[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Returns a previously registered mapping ID for the given ID if it exists.
Namespace: Db4objects.Db4o.Defragment
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Function MappedID ( _ origID As Integer, _ lenient As Boolean _ ) As Integer |
C# |
---|
int MappedID ( int origID, bool lenient ) |
Visual C++ |
---|
int MappedID ( int origID, bool lenient ) |
Parameters
- origID
- System.Int32
The original ID
- lenient
- System.Boolean
If true, lenient mode will be used for lookup, strict mode otherwise.
Return Value
The mapping ID for the given original ID or 0, if none has been registered.
Remarks
Returns a previously registered mapping ID for the given ID if it exists.
If lenient mode is set to true, will provide the mapping ID for the next
smaller original ID a mapping exists for. Otherwise returns 0.