DeleteAt(Int32, Boolean):Void

Deletes a data object or a data structure at the indicated position.

This method deletes a data object of the collection at an indicated position.

The functioning of the method corresponds to the method Delete for a data object and is subject to the same restrictions for the deletion process.

Return type: System.Void

Parameter

index

Type: System.Int32

This parameter is the position of the data object to be deleted. The index begins at 0. If the indicated index lies outside the range, then an ArgumentException is triggered with the message "Invalid index".

recurse

Type: System.Boolean

This parameter indicates whether the data object and all data objects under it are to be deleted. If false is indicated as the value, then only the current data object is explicitly deleted. If data objects exist under it nevertheless, then the exception DataObjectReferencedException is triggered.