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
- ConvertBinder.cs
- SelectionItemPattern.cs
- ControlDesigner.cs
- TypeConverterHelper.cs
- PropertyRecord.cs
- GlyphRunDrawing.cs
- CompilationUtil.cs
- VersionPair.cs
- BinaryParser.cs
- WmlLinkAdapter.cs
- ProcessHostFactoryHelper.cs
- OpenTypeLayoutCache.cs
- ReferencedCollectionType.cs
- MimeMapping.cs
- CacheMemory.cs
- SafeMarshalContext.cs
- PathTooLongException.cs
- ServicePointManagerElement.cs
- ExpressionTextBoxAutomationPeer.cs
- SqlClientWrapperSmiStream.cs
- TextEncodedRawTextWriter.cs
- RemotingConfigParser.cs
- TemplatedAdorner.cs
- SoapAttributes.cs
- ClientReliableChannelBinder.cs
- IdentityManager.cs
- MemoryStream.cs
- NavigateEvent.cs
- QilReference.cs
- VariableAction.cs
- HttpDebugHandler.cs
- Drawing.cs
- SspiSafeHandles.cs
- HotCommands.cs
- NotificationContext.cs
- ExpandSegmentCollection.cs
- RbTree.cs
- DispatcherSynchronizationContext.cs
- WorkflowRuntimeSection.cs
- precedingsibling.cs
- ToolStripItemEventArgs.cs
- InvalidAsynchronousStateException.cs
- RC2.cs
- XmlSchemaComplexContent.cs
- FragmentQueryKB.cs
- WorkflowTransactionOptions.cs
- ServiceModelConfigurationElementCollection.cs
- DocumentReferenceCollection.cs
- EventProxy.cs
- LocalServiceSecuritySettings.cs
- ComponentDispatcher.cs
- LayoutDump.cs
- TableColumn.cs
- SplashScreenNativeMethods.cs
- LineInfo.cs
- UseAttributeSetsAction.cs
- FontStretchConverter.cs
- Models.cs
- GridViewColumnCollection.cs
- OleDbConnection.cs
- ImageList.cs
- VariableQuery.cs
- Viewport3DVisual.cs
- SafeNativeMethods.cs
- TextEditorTyping.cs
- RuntimeTransactionHandle.cs
- RootNamespaceAttribute.cs
- WebPartMenu.cs
- OpenFileDialog.cs
- ObjectDataSourceFilteringEventArgs.cs
- CrossSiteScriptingValidation.cs
- BitmapEffectDrawingContextState.cs
- TextFormatterContext.cs
- InputScopeNameConverter.cs
- SequentialOutput.cs
- Canvas.cs
- WebPartConnectionsDisconnectVerb.cs
- MarshalByRefObject.cs
- Quad.cs
- ConnectionStringEditor.cs
- SystemResources.cs
- ButtonBase.cs
- ActiveDocumentEvent.cs
- ConvertEvent.cs
- KeyInstance.cs
- PrintEvent.cs
- ImportCatalogPart.cs
- BitmapCache.cs
- WebPartPersonalization.cs
- ListenerConstants.cs
- HttpClientCertificate.cs
- WindowsRichEdit.cs
- ActivityTypeResolver.xaml.cs
- WebServiceData.cs
- TraversalRequest.cs
- EmbeddedMailObjectsCollection.cs
- HopperCache.cs
- StringCollectionMarkupSerializer.cs
- ScrollBarAutomationPeer.cs
- SmtpClient.cs