/// <summary> /// /// </summary> /// <param name="dataRecordsetChanged"></param> public void DataRecordsetChanged([In, MarshalAs(UnmanagedType.IDispatch)] object dataRecordsetChanged) { if (!Validate("DataRecordsetChanged")) { Invoker.ReleaseParamsArray(dataRecordsetChanged); return; } NetOffice.VisioApi.IVDataRecordsetChangedEvent newDataRecordsetChanged = Factory.CreateEventArgumentObjectFromComProxy(EventClass, dataRecordsetChanged) as NetOffice.VisioApi.IVDataRecordsetChangedEvent; object[] paramsArray = new object[1]; paramsArray[0] = newDataRecordsetChanged; EventBinding.RaiseCustomEvent("DataRecordsetChanged", ref paramsArray); }
public void DataRecordsetChanged([In, MarshalAs(UnmanagedType.IDispatch)] object dataRecordsetChanged) { Delegate[] recipients = _eventBinding.GetEventRecipients("DataRecordsetChanged"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(dataRecordsetChanged); return; } NetOffice.VisioApi.IVDataRecordsetChangedEvent newDataRecordsetChanged = Factory.CreateObjectFromComProxy(_eventClass, dataRecordsetChanged) as NetOffice.VisioApi.IVDataRecordsetChangedEvent; object[] paramsArray = new object[1]; paramsArray[0] = newDataRecordsetChanged; _eventBinding.RaiseCustomEvent("DataRecordsetChanged", ref paramsArray); }