Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CollectionChangeEventArgs.cs / 1305376 / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextFormatterImp.cs
- Vector3D.cs
- SQLInt32Storage.cs
- MetadataUtilsSmi.cs
- DecoderFallback.cs
- ModuleElement.cs
- Themes.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- BufferAllocator.cs
- ManifestBasedResourceGroveler.cs
- Binding.cs
- ExcludePathInfo.cs
- PopOutPanel.cs
- DefaultBinder.cs
- ArrayList.cs
- OutputWindow.cs
- ObservableDictionary.cs
- ScriptRef.cs
- _BufferOffsetSize.cs
- EntityFrameworkVersions.cs
- WindowsListViewGroup.cs
- WebReferenceCollection.cs
- CompiledQuery.cs
- LineGeometry.cs
- GlobalProxySelection.cs
- ListItemCollection.cs
- StreamInfo.cs
- RootDesignerSerializerAttribute.cs
- RadioButtonRenderer.cs
- _IPv6Address.cs
- FontResourceCache.cs
- RemotingAttributes.cs
- SplayTreeNode.cs
- Operand.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- EditBehavior.cs
- FontCollection.cs
- EditorPart.cs
- PrintDialogException.cs
- AttributeCollection.cs
- ConfigurationSchemaErrors.cs
- RegularExpressionValidator.cs
- DetailsViewUpdateEventArgs.cs
- DrawingGroupDrawingContext.cs
- CustomMenuItemCollection.cs
- EntityDesignerUtils.cs
- ControlValuePropertyAttribute.cs
- IisTraceWebEventProvider.cs
- IndentTextWriter.cs
- Rotation3DAnimation.cs
- SmiSettersStream.cs
- AutomationTextAttribute.cs
- Timer.cs
- BaseResourcesBuildProvider.cs
- DependencyPropertyDescriptor.cs
- RoutedUICommand.cs
- EncodingNLS.cs
- MemoryRecordBuffer.cs
- EncryptedPackage.cs
- ChannelDispatcherCollection.cs
- HttpCookieCollection.cs
- XmlNamedNodeMap.cs
- FileSystemInfo.cs
- SqlDataSourceStatusEventArgs.cs
- RunInstallerAttribute.cs
- TextFormatterContext.cs
- DynamicResourceExtension.cs
- EndOfStreamException.cs
- TypeDependencyAttribute.cs
- ExceptionUtil.cs
- TextServicesCompartmentContext.cs
- PrimitiveXmlSerializers.cs
- TypeNameConverter.cs
- SignatureResourcePool.cs
- Win32.cs
- ConsoleKeyInfo.cs
- StringUtil.cs
- CompareValidator.cs
- OperatingSystem.cs
- SqlVersion.cs
- WindowsStatusBar.cs
- ResourceProviderFactory.cs
- GridItemCollection.cs
- MonitoringDescriptionAttribute.cs
- VirtualPath.cs
- ArgumentOutOfRangeException.cs
- DataRecordInternal.cs
- ViewBox.cs
- WhereQueryOperator.cs
- HashHelper.cs
- EntitySetRetriever.cs
- EndOfStreamException.cs
- OraclePermissionAttribute.cs
- StrokeDescriptor.cs
- DesignRelationCollection.cs
- TreeViewCancelEvent.cs
- HoistedLocals.cs
- UnsafeNativeMethods.cs
- QueryOptionExpression.cs
- MetadataException.cs