Contains(IDataObject, Boolean):Boolean

Checks whether the transferred data object is a child of the current data object.

This method checks whether the data object transferred in the parameter dataObject is in the structure of the current data object.

Return type: System.Boolean

Parameter

dataObject

Type: Onion.Client.IDataObject

This parameter is the data object that is to be searched for in the current collection.

recurse

Type: System.Boolean

This parameter indicates whether recursive searching is to take place in the data structure beneath the current data object or only in the direct child data objects of the current data object.