Contains(IDataObject):Boolean

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

This method checks whether the data object transferred in the parameter dataObject is a direct child of the data object. If the data object searched for is in the underlying structure, but is not a direct child data object however, then false is returned.

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.