InfoObjectCollection ValidateItem Method Kentico 8.1 API Reference
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

item
Type: CMS.DataEngine BaseInfo
Item to validate
throwException (Optional)
Type: OnlineSystem Boolean
If true, the method throws exception in case validation fails

Return Value

Type: OnlineBoolean
See Also