Click or drag to resize
InfoObjectCollection<TInfo>.ValidateItem Method
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: 10.0.0
Syntax
C#
protected bool ValidateItem(
	BaseInfo item,
	bool throwException = true
)

Parameters

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

Return Value

Type: Boolean
See Also