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
- WebPartActionVerb.cs
- BamlLocalizableResourceKey.cs
- BitmapEncoder.cs
- ArgumentOutOfRangeException.cs
- MasterPageCodeDomTreeGenerator.cs
- ChineseLunisolarCalendar.cs
- TransformedBitmap.cs
- DetailsViewUpdateEventArgs.cs
- LinearKeyFrames.cs
- Certificate.cs
- DeviceContexts.cs
- SelectionItemProviderWrapper.cs
- DataKeyCollection.cs
- DataViewListener.cs
- AnnotationStore.cs
- LicenseContext.cs
- NegatedConstant.cs
- Style.cs
- SocketPermission.cs
- SystemIcmpV4Statistics.cs
- WindowHideOrCloseTracker.cs
- SortFieldComparer.cs
- HtmlFormWrapper.cs
- JavaScriptString.cs
- SystemNetHelpers.cs
- UriWriter.cs
- DataGridPreparingCellForEditEventArgs.cs
- Debugger.cs
- ContextActivityUtils.cs
- PeerNodeTraceRecord.cs
- StrongNameIdentityPermission.cs
- MenuItemAutomationPeer.cs
- TypeConverter.cs
- Int32Rect.cs
- XmlSchemaAll.cs
- DataGridRowDetailsEventArgs.cs
- ProfilePropertyNameValidator.cs
- DrawingContextDrawingContextWalker.cs
- WindowsGraphics2.cs
- Int64.cs
- ToolboxItemCollection.cs
- UxThemeWrapper.cs
- RemotingConfiguration.cs
- XmlSchemas.cs
- HighContrastHelper.cs
- String.cs
- ShaderEffect.cs
- Content.cs
- MaterialGroup.cs
- InputReportEventArgs.cs
- InheritablePropertyChangeInfo.cs
- UriWriter.cs
- WebPartEditVerb.cs
- TransformConverter.cs
- RemoveStoryboard.cs
- ItemContainerGenerator.cs
- DataView.cs
- SqlUdtInfo.cs
- XmlJsonReader.cs
- HttpApplication.cs
- TabletDevice.cs
- XmlBinaryReader.cs
- SecurityException.cs
- HtmlSelect.cs
- Rule.cs
- ReflectionUtil.cs
- FontSizeConverter.cs
- PlanCompilerUtil.cs
- OpCellTreeNode.cs
- DeclarativeCatalogPart.cs
- CallbackValidatorAttribute.cs
- DataBoundControl.cs
- RotateTransform.cs
- FilterableAttribute.cs
- HttpBrowserCapabilitiesWrapper.cs
- ReplyChannel.cs
- UriExt.cs
- CatchBlock.cs
- StringOutput.cs
- ProviderUtil.cs
- TextPointerBase.cs
- Zone.cs
- FirstMatchCodeGroup.cs
- JoinGraph.cs
- InterleavedZipPartStream.cs
- ObjectComplexPropertyMapping.cs
- DriveInfo.cs
- Interfaces.cs
- CompositeDataBoundControl.cs
- SqlCaseSimplifier.cs
- NameService.cs
- DuplicateWaitObjectException.cs
- DataGridViewCellLinkedList.cs
- EntitySqlException.cs
- HttpContextServiceHost.cs
- DateRangeEvent.cs
- CleanUpVirtualizedItemEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- Main.cs
- Int64Storage.cs