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
- sourceElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Element from source model
- targetElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Element from target model
- configuration
Type: Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
Filter defined for this comparison
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.