RemoveObjects
Removes objects i.e. marks them deleted.
Syntax
// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.RemoveObjects({
obj_ids: [] /* Array of ObjID */,
});
Message
Name | Description | Type |
---|---|---|
obj_ids | Objects as JSON. (represented by MF_ObjIDArray struct) | ObjID[] |
Return type
Name | Description | Type |
---|---|---|
deleted_objects | Results as JSON array. | ExtObjectInfo[] |
Example
{
"deleted_objects": [] /* Array of ExtObjectInfo */
}