Click or drag to resize
ObjectTypeInfoCheckTypeCondition Method

Note: This API is now obsolete.

Checks if condition defined in TypeCondition is not violated by the given info.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("This method should not be used from custom code and will be removed.")]
public bool CheckTypeCondition(
	IDataContainer info,
	bool throwException = true
)

Parameters

info
Type: CMS.BaseIDataContainer
Info to check
throwException (Optional)
Type: SystemBoolean
If true, the exception is thrown in case the object violates the type condition

Return Value

Type: Boolean
See Also