[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)
deactivates a stored object by setting all members to
.
Namespace: Db4objects.Db4o
![]() | |
---|---|
NULL |
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Deactivate ( _ obj As Object, _ depth As Integer _ ) |
C# |
---|
void Deactivate ( Object obj, int depth ) |
Visual C++ |
---|
void Deactivate ( Object^ obj, int depth ) |
Parameters
- obj
- System.Object
the object to be deactivated.
- depth
- System.Int32
the member depth to which deactivate is to cascade.
Remarks
deactivates a stored object by setting all members to
.
Primitive types will be set to their default values.
Examples: ../com/db4o/samples/activate.
Calls to this method save memory. The method has no effect, if the passed object is not stored in the
.
triggers the callback method
objectOnDeactivate
.
Be aware that calling this method with a depth parameter greater than 1 sets members on member objects to null. This may have side effects in other places of the application.
![]() | |
---|---|
NULL |
Primitive types will be set to their default values.
Examples: ../com/db4o/samples/activate.
Calls to this method save memory. The method has no effect, if the passed object is not stored in the
![]() | |
---|---|
IObjectContainer |
![]() | |
---|---|
Deactivate() |
Be aware that calling this method with a depth parameter greater than 1 sets members on member objects to null. This may have side effects in other places of the application.