Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridItemProviderWrapper.cs
- DrawListViewSubItemEventArgs.cs
- TextParagraphProperties.cs
- TextPointerBase.cs
- Rights.cs
- EventlogProvider.cs
- ObjectToken.cs
- DebugInfoGenerator.cs
- DatagridviewDisplayedBandsData.cs
- BooleanSwitch.cs
- DatasetMethodGenerator.cs
- XmlRawWriterWrapper.cs
- SerialErrors.cs
- HitTestResult.cs
- InvokeProviderWrapper.cs
- DetailsViewDeleteEventArgs.cs
- Menu.cs
- ReaderWriterLockSlim.cs
- SharedPerformanceCounter.cs
- ReadOnlyDataSource.cs
- DragCompletedEventArgs.cs
- SafeProcessHandle.cs
- KeyProperty.cs
- ViewManager.cs
- EmptyCollection.cs
- SBCSCodePageEncoding.cs
- DocumentAutomationPeer.cs
- OutputScopeManager.cs
- BufferModeSettings.cs
- StickyNoteAnnotations.cs
- SByte.cs
- RelatedEnd.cs
- QuotedPrintableStream.cs
- SqlTrackingQuery.cs
- PeerCollaboration.cs
- DrawTreeNodeEventArgs.cs
- OutputCacheSettings.cs
- DynamicPropertyReader.cs
- NativeRecognizer.cs
- WinEventTracker.cs
- KeyValuePairs.cs
- StorageEndPropertyMapping.cs
- IPEndPoint.cs
- Point3DAnimationUsingKeyFrames.cs
- StylusPointPropertyInfo.cs
- HtmlDocument.cs
- BidOverLoads.cs
- HttpApplication.cs
- SHA512.cs
- OracleDateTime.cs
- ResXDataNode.cs
- DelegateSerializationHolder.cs
- Console.cs
- Vector3DIndependentAnimationStorage.cs
- ButtonFieldBase.cs
- WriteableBitmap.cs
- WebPartDisplayModeCollection.cs
- XmlDataSourceNodeDescriptor.cs
- DBConcurrencyException.cs
- XmlChoiceIdentifierAttribute.cs
- PersonalizationProviderHelper.cs
- RoutedEventHandlerInfo.cs
- SafeFileMappingHandle.cs
- XmlNamespaceDeclarationsAttribute.cs
- MsmqHostedTransportConfiguration.cs
- RectAnimationUsingKeyFrames.cs
- BaseTemplateParser.cs
- FixedDocumentSequencePaginator.cs
- ZipIOCentralDirectoryFileHeader.cs
- EditBehavior.cs
- OSFeature.cs
- CodeTryCatchFinallyStatement.cs
- ValuePattern.cs
- EndPoint.cs
- HotSpotCollection.cs
- FontResourceCache.cs
- DataGridViewBindingCompleteEventArgs.cs
- SelectedGridItemChangedEvent.cs
- HtmlTableRowCollection.cs
- FileDataSourceCache.cs
- PrintPreviewControl.cs
- CheckBoxPopupAdapter.cs
- EncoderExceptionFallback.cs
- EventRouteFactory.cs
- UserControlCodeDomTreeGenerator.cs
- Condition.cs
- ExpressionBuilderContext.cs
- ContainerAction.cs
- ToolStripTextBox.cs
- XmlUrlResolver.cs
- WindowsEditBoxRange.cs
- Baml2006ReaderFrame.cs
- SqlGenericUtil.cs
- BulletDecorator.cs
- HttpHandlersSection.cs
- RoutedEvent.cs
- DesignerCapabilities.cs
- FontFamilyConverter.cs
- IgnoreFlushAndCloseStream.cs
- EntityClassGenerator.cs