Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / CollectionChangeEventArgs.cs / 1 / CollectionChangeEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class CollectionChangeEventArgs : EventArgs { private CollectionChangeAction action; private object element; ///Provides data for the ///event. /// public CollectionChangeEventArgs(CollectionChangeAction action, object element) { this.action = action; this.element = element; } ///Initializes a new instance of the ///class. /// public virtual CollectionChangeAction Action { get { return action; } } ///Gets an action that specifies how the collection changed. ////// public virtual object Element { get { return element; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the instance of the collection with the change. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class CollectionChangeEventArgs : EventArgs { private CollectionChangeAction action; private object element; ///Provides data for the ///event. /// public CollectionChangeEventArgs(CollectionChangeAction action, object element) { this.action = action; this.element = element; } ///Initializes a new instance of the ///class. /// public virtual CollectionChangeAction Action { get { return action; } } ///Gets an action that specifies how the collection changed. ////// public virtual object Element { get { return element; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the instance of the collection with the change. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListViewTableCell.cs
- SimpleRecyclingCache.cs
- ConditionCollection.cs
- MultipartIdentifier.cs
- FlowLayout.cs
- Propagator.JoinPropagator.cs
- UIElement.cs
- SoapEnumAttribute.cs
- Bits.cs
- SubstitutionList.cs
- GenericRootAutomationPeer.cs
- XmlSerializerNamespaces.cs
- RangeExpression.cs
- CaretElement.cs
- App.cs
- XmlNodeChangedEventManager.cs
- XPathBinder.cs
- TraceUtility.cs
- WindowInteropHelper.cs
- TemplateBindingExpressionConverter.cs
- HtmlWindow.cs
- EventProviderClassic.cs
- ButtonChrome.cs
- Predicate.cs
- IconHelper.cs
- ConstructorNeedsTagAttribute.cs
- DataViewSetting.cs
- BitmapSource.cs
- OpCellTreeNode.cs
- WorkflowOperationErrorHandler.cs
- Region.cs
- TreeNodeConverter.cs
- Matrix3D.cs
- ResizeGrip.cs
- CodeGenerator.cs
- ArgumentDesigner.xaml.cs
- SignatureDescription.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EntityCommand.cs
- TemplateEditingVerb.cs
- LocalizationComments.cs
- Transform3DGroup.cs
- TimerElapsedEvenArgs.cs
- ListViewItem.cs
- BlurEffect.cs
- DataSourceUtil.cs
- DataControlField.cs
- DataObjectFieldAttribute.cs
- TagPrefixAttribute.cs
- DropSource.cs
- RightNameExpirationInfoPair.cs
- BinaryReader.cs
- MissingSatelliteAssemblyException.cs
- BufferedGraphicsManager.cs
- SoapElementAttribute.cs
- Int32Collection.cs
- LayoutInformation.cs
- TaiwanLunisolarCalendar.cs
- RadioButtonStandardAdapter.cs
- XPathNavigator.cs
- BindingContext.cs
- Page.cs
- SamlAttributeStatement.cs
- ToolStripRenderer.cs
- LinkAreaEditor.cs
- XmlFormatExtensionAttribute.cs
- HwndSource.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SelectionRange.cs
- FormViewCommandEventArgs.cs
- PointLight.cs
- PointAnimationBase.cs
- ListViewGroupItemCollection.cs
- relpropertyhelper.cs
- SecureStringHasher.cs
- QueryContinueDragEventArgs.cs
- PolyQuadraticBezierSegment.cs
- HostingEnvironmentWrapper.cs
- RuntimeWrappedException.cs
- IgnoreDataMemberAttribute.cs
- PermissionRequestEvidence.cs
- EventMappingSettingsCollection.cs
- ExpressionBuilderCollection.cs
- NetworkCredential.cs
- WinEventQueueItem.cs
- EndpointInfo.cs
- PointLight.cs
- PerformanceCounter.cs
- x509utils.cs
- InfoCardRSACryptoProvider.cs
- Viewport2DVisual3D.cs
- ProgressBar.cs
- SafeThemeHandle.cs
- ChunkedMemoryStream.cs
- DashStyles.cs
- FillRuleValidation.cs
- AsmxEndpointPickerExtension.cs
- MappingModelBuildProvider.cs
- SQLSingleStorage.cs
- ConcurrentQueue.cs