Code:
/ 4.0 / 4.0 / 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. ///// 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
- PoisonMessageException.cs
- PreservationFileReader.cs
- CommunicationObjectAbortedException.cs
- DataSetViewSchema.cs
- MouseGestureConverter.cs
- UnsafeNativeMethods.cs
- IisTraceWebEventProvider.cs
- DataTableMapping.cs
- TileBrush.cs
- TypefaceCollection.cs
- DateTimeOffsetConverter.cs
- ShaperBuffers.cs
- DataProviderNameConverter.cs
- UInt32Converter.cs
- OwnerDrawPropertyBag.cs
- SchemaImporterExtensionElement.cs
- MarkupProperty.cs
- ControlPropertyNameConverter.cs
- TargetException.cs
- ISFTagAndGuidCache.cs
- EdmItemCollection.cs
- SimpleType.cs
- DatatypeImplementation.cs
- HttpModuleAction.cs
- IPPacketInformation.cs
- RunWorkerCompletedEventArgs.cs
- CodeBlockBuilder.cs
- SystemFonts.cs
- AdornerLayer.cs
- BamlTreeMap.cs
- AssemblyAssociatedContentFileAttribute.cs
- Parser.cs
- SafeCertificateContext.cs
- AuthStoreRoleProvider.cs
- EntityReference.cs
- RawKeyboardInputReport.cs
- GetImportFileNameRequest.cs
- TargetPerspective.cs
- Setter.cs
- BamlLocalizer.cs
- ReflectPropertyDescriptor.cs
- RelationshipDetailsCollection.cs
- PreservationFileReader.cs
- WorkflowServiceBehavior.cs
- ObsoleteAttribute.cs
- InstanceNormalEvent.cs
- EntityRecordInfo.cs
- DataGridViewCellCollection.cs
- Pointer.cs
- Validator.cs
- DeferredElementTreeState.cs
- RequestCache.cs
- UrlRoutingHandler.cs
- EdmSchemaAttribute.cs
- KeyValueSerializer.cs
- AppearanceEditorPart.cs
- InternalControlCollection.cs
- UITypeEditor.cs
- ConnectionPoint.cs
- TypeDescriptionProvider.cs
- Evidence.cs
- HMACSHA1.cs
- NetworkAddressChange.cs
- XsltContext.cs
- XamlGridLengthSerializer.cs
- WindowsProgressbar.cs
- WeakReference.cs
- FileDialogCustomPlacesCollection.cs
- TableColumnCollection.cs
- XamlBrushSerializer.cs
- UIPermission.cs
- DynamicRendererThreadManager.cs
- UInt64Converter.cs
- SuppressMergeCheckAttribute.cs
- CodeTypeReference.cs
- WebPartDescriptionCollection.cs
- XmlSignificantWhitespace.cs
- GraphicsState.cs
- EqualityComparer.cs
- KeyboardNavigation.cs
- DesignOnlyAttribute.cs
- ReadOnlyCollectionBase.cs
- GridViewCommandEventArgs.cs
- FloaterParagraph.cs
- DataStorage.cs
- xml.cs
- DateTimePickerDesigner.cs
- LocalizationParserHooks.cs
- BaseCollection.cs
- XmlImplementation.cs
- StubHelpers.cs
- ListManagerBindingsCollection.cs
- ExpressionBuilderContext.cs
- ConfigurationManagerHelper.cs
- ProjectionPruner.cs
- SqlMethodCallConverter.cs
- ContentPosition.cs
- DesignTimeVisibleAttribute.cs
- ChangeConflicts.cs
- InitializationEventAttribute.cs