ModelComparer.Compare Method (IModelElement, IModelElement)
Compares two elements without a filter.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function Compare ( _
sourceElement As IModelElement, _
targetElement As IModelElement _
) As ModelComparisonResult
public ModelComparisonResult Compare(
IModelElement sourceElement,
IModelElement targetElement
)
public:
ModelComparisonResult^ Compare(
IModelElement^ sourceElement,
IModelElement^ targetElement
)
member Compare :
sourceElement:IModelElement *
targetElement:IModelElement -> ModelComparisonResult
public function Compare(
sourceElement : IModelElement,
targetElement : IModelElement
) : ModelComparisonResult
Parameters
- sourceElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The source element
- targetElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The target element
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.