ModelComparer.Compare - метод (IModelElement, IModelElement, ModelComparerConfiguration)
Сравнивает два элемента.
Пространство имен: Microsoft.Data.Schema.SchemaModel
Сборка: Microsoft.Data.Schema (в Microsoft.Data.Schema.dll)
Синтаксис
'Декларация
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
Параметры
- sourceElement
Тип: Microsoft.Data.Schema.SchemaModel.IModelElement
Элемент из исходной модели
- targetElement
Тип: Microsoft.Data.Schema.SchemaModel.IModelElement
Элемент из целевой модели
- configuration
Тип: Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
Фильтр, определенный для данного сравнения
Возвращаемое значение
Тип: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.