ModelComparer.Compare 方法 (IModelElement, IModelElement)
比較兩個項目,不使用篩選條件。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
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
參數
- sourceElement
型別:Microsoft.Data.Schema.SchemaModel.IModelElement
來源項目。
- targetElement
型別:Microsoft.Data.Schema.SchemaModel.IModelElement
目標項目。
傳回值
型別:Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。