InfoObjectCollectionTInfoValidateItem Method |
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax protected bool ValidateItem(
BaseInfo item,
bool throwException = true
)
Parameters
- item
- Type: CMS.DataEngineBaseInfo
Item to validate - throwException (Optional)
- Type: SystemBoolean
If true, the method throws exception in case validation fails
Return Value
Type:
BooleanSee Also