Share via


ModelComparer.Compare Method (IModelElement, IModelElement, ModelComparerConfiguration)

Compares two elements.

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, _
    configuration As ModelComparerConfiguration _
) As ModelComparisonResult
public ModelComparisonResult Compare(
    IModelElement sourceElement,
    IModelElement targetElement,
    ModelComparerConfiguration configuration
)
public:
ModelComparisonResult^ Compare(
    IModelElement^ sourceElement, 
    IModelElement^ targetElement, 
    ModelComparerConfiguration^ configuration
)
member Compare : 
        sourceElement:IModelElement * 
        targetElement:IModelElement * 
        configuration:ModelComparerConfiguration -> ModelComparisonResult 
public function Compare(
    sourceElement : IModelElement, 
    targetElement : IModelElement, 
    configuration : ModelComparerConfiguration
) : ModelComparisonResult

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult

.NET Framework Security

See Also

Reference

ModelComparer Class

Compare Overload

Microsoft.Data.Schema.SchemaModel Namespace