ApiSessionDeleteObject Method

Deletes the given object and all its dependencies. E.g. when you delete a folder, all elements within will also be deleted; when you delete a FlowFragment, all inner elements will be deleted, all connected pins and connections to this flow fragment get also deleted

Definition

Namespace: Articy.Api
Assembly: ArticyApp (in ArticyApp.dll) Version: 1.0.0
C#
public void DeleteObject(
	ObjectProxy aObject
)

Parameters

aObject  ObjectProxy
the object to be deleted

Exceptions

ArticyApiExceptionWriteDenied when the partition containing the object is not claimed
ArticyApiExceptionCantDeleteSystemFolder when you try to delete a system folder
ArticyApiExceptionCantDeletePartitionRoot when you try to delete an object that is the root of a partition
ArticyApiExceptionDeleteNotAllowed any other objection regarding the delete operation. Most likely that an inner container is the root of a partition

See Also