共用方式為


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

參數

傳回值

型別:Microsoft.Data.Schema.SchemaModel.ModelComparisonResult

.NET Framework 安全性

請參閱

參考

ModelComparer 類別

Compare 多載

Microsoft.Data.Schema.SchemaModel 命名空間