This is the type of the data item that is the subject of the event fired.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Examples

void MyMethod() { DataEvents<IMyDataType>().OnBeforeAdd += new DataEventHandler(DataEvents_OnBeforeAdd); using (DataConnection connection = new DataConnection()) { IMyDataType myDataType = DataConnection.New<IMyDataType>(); myDataType.Name = "Foo"; connection.Add<IMyDataType>(myDataType); // This will fire the event! } } void DataEvents_OnBeforeAdd(object sender, DataEventArgs dataEventArgs) { Type type = dataEventArgs.DataType; // This will be the type of myDataType instance. E.i. IMyDataType }