使用提供的模型及項目和事件型別的清單,初始化 DataSchemaModelEventArgs 類別的新執行個體。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Sub New ( _
model As DataSchemaModel, _
changes As IList(Of Tuple(Of IModelElement, ModelEventType)) _
)
public DataSchemaModelEventArgs(
DataSchemaModel model,
IList<Tuple<IModelElement, ModelEventType>> changes
)
public:
DataSchemaModelEventArgs(
DataSchemaModel^ model,
IList<Tuple<IModelElement^, ModelEventType>^>^ changes
)
new :
model:DataSchemaModel *
changes:IList<Tuple<IModelElement, ModelEventType>> -> DataSchemaModelEventArgs
public function DataSchemaModelEventArgs(
model : DataSchemaModel,
changes : IList<Tuple<IModelElement, ModelEventType>>
)
參數
- model
型別:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
已變更的 DataSchemaModel 物件。
- changes
型別:System.Collections.Generic.IList<Tuple<IModelElement, ModelEventType>>
已變更之 IModelElement 物件和表示變更類型之對應 ModelEventType 物件的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。