Difference between revisions of "Activity:DeleteObject (Activity)"
Line 17: | Line 17: | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | UBIKObject|| BaseClass || In || The object to delete | + | | UBIKObject|| [[BaseClass]] || In || The object to delete |
|- align="left" | |- align="left" | ||
− | | ShallowDelete|| | + | | ShallowDelete|| {{Boolean_MSDN}}|| In || If True, only the object itself will be deleted, if false it will try to also delete affected objects of the change ("Deep delete") |
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed |
|} | |} | ||
Revision as of 14:54, 8 January 2015
Delete Object | |
---|---|
Name | DeleteObject |
Purpose | Delete an object from the database |
Category | Object Primitives |
Returns | True if successful |
Version | 2.1+ |
The DeleteObject Activity deletes a UBIK® object from memory and the database.
Contents
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
UBIKObject | BaseClass | In | The object to delete |
ShallowDelete | Boolean | In | If True, only the object itself will be deleted, if false it will try to also delete affected objects of the change ("Deep delete") |
Result | Boolean | Out | True if successful, false if failed |
Usage
This activity is used to delete a previously created object (e.g. with the CreateInstance activity) from memory and the database.
Example
Delete the given object shallow:
Argument | Value |
---|---|
UBIKObject | Connect this argument with a variable |
ShallowDelete | True |