Click or drag to resize
DataExtensionsCompare Method
Compares two BaseInfo objects (data & structure) according to comparison settings given.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static bool Compare(
	this BaseInfo obj1,
	BaseInfo obj2,
	CompareSettings settings
)

Parameters

obj1
Type: CMS.DataEngineBaseInfo
First object to compare
obj2
Type: CMS.DataEngineBaseInfo
Second object to compare
settings
Type: CMS.DataEngineCompareSettings
Comparison settings

Return Value

Type: Boolean
True if the objects are same in data/structure defined in comparison settings

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also