DataSchemaModelEventArgs Constructor (DataSchemaModel, IModelElement, ModelEventType)
Initializes a new instance of the DataSchemaModelEventArgs class by using the provided model, element, and event type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
model As DataSchemaModel, _
element As IModelElement, _
type As ModelEventType _
)
public DataSchemaModelEventArgs(
DataSchemaModel model,
IModelElement element,
ModelEventType type
)
public:
DataSchemaModelEventArgs(
DataSchemaModel^ model,
IModelElement^ element,
ModelEventType type
)
new :
model:DataSchemaModel *
element:IModelElement *
type:ModelEventType -> DataSchemaModelEventArgs
public function DataSchemaModelEventArgs(
model : DataSchemaModel,
element : IModelElement,
type : ModelEventType
)
Parameters
- model
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The DataSchemaModel object that has changed.
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The IModelElement where the change occurred.
- type
Type: Microsoft.Data.Schema.SchemaModel.ModelEventType
The ModelEventType that represents the type of change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataSchemaModelEventArgs Class
DataSchemaModelEventArgs Overload