共用方式為


ModelTranslatorDefinition 建構函式

使用提供的 ModelSchema 物件,初始化 ModelTranslatorDefinition 類別的新執行個體。

命名空間:  Microsoft.Data.Schema.SchemaModel.Translation
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Sub New ( _
    from As ModelSchema, _
    to As ModelSchema _
)
public ModelTranslatorDefinition(
    ModelSchema from,
    ModelSchema to
)
public:
ModelTranslatorDefinition(
    ModelSchema^ from, 
    ModelSchema^ to
)
new : 
        from:ModelSchema * 
        to:ModelSchema -> ModelTranslatorDefinition
public function ModelTranslatorDefinition(
    from : ModelSchema, 
    to : ModelSchema
)

參數

例外狀況

例外狀況 條件
ArgumentNullException

一個或兩個參數值為 nullNull 參照 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

ModelTranslatorDefinition 類別

Microsoft.Data.Schema.SchemaModel.Translation 命名空間

ModelSchema