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
- GridViewEditEventArgs.cs
- GrabHandleGlyph.cs
- ProjectionCamera.cs
- RectangleConverter.cs
- RtfControlWordInfo.cs
- HwndProxyElementProvider.cs
- URIFormatException.cs
- HttpCacheVaryByContentEncodings.cs
- WebPartUtil.cs
- FileDialog.cs
- CharacterBuffer.cs
- CompModSwitches.cs
- AutomationFocusChangedEventArgs.cs
- RegexBoyerMoore.cs
- ScriptingProfileServiceSection.cs
- DbConnectionFactory.cs
- Asn1Utilities.cs
- DataGridViewMethods.cs
- dataobject.cs
- MimeImporter.cs
- SQLGuidStorage.cs
- ScriptMethodAttribute.cs
- BlobPersonalizationState.cs
- JsonWriter.cs
- XmlTextWriter.cs
- ToolBar.cs
- _LoggingObject.cs
- HitTestParameters3D.cs
- Speller.cs
- CollectionType.cs
- StringBuilder.cs
- Int64Converter.cs
- XPathDocumentIterator.cs
- SqlDataSourceFilteringEventArgs.cs
- ServicesExceptionNotHandledEventArgs.cs
- util.cs
- FacetDescription.cs
- ListViewDeletedEventArgs.cs
- Encoder.cs
- EventProvider.cs
- NameValueCache.cs
- ColorTransformHelper.cs
- TimeSpanMinutesConverter.cs
- SiteMapDataSourceView.cs
- DecoderReplacementFallback.cs
- CopyOfAction.cs
- KerberosSecurityTokenParameters.cs
- ValidationRule.cs
- DivideByZeroException.cs
- CompilerLocalReference.cs
- ActiveXHelper.cs
- HttpListenerRequest.cs
- CallContext.cs
- UInt32Converter.cs
- MultilineStringConverter.cs
- Scripts.cs
- SystemIPGlobalStatistics.cs
- PersonalizationEntry.cs
- XsltException.cs
- NameValueSectionHandler.cs
- ObjectNotFoundException.cs
- ResourceKey.cs
- ThreadStateException.cs
- ManualResetEvent.cs
- BitArray.cs
- WaitForChangedResult.cs
- HMACSHA512.cs
- VirtualPathProvider.cs
- RSAPKCS1SignatureFormatter.cs
- HTMLTextWriter.cs
- CmsUtils.cs
- TextParagraphProperties.cs
- DurableRuntimeValidator.cs
- AuthenticationException.cs
- CompositeCollectionView.cs
- Array.cs
- XmlCharType.cs
- DataGrid.cs
- SystemEvents.cs
- CollectionChangedEventManager.cs
- RevocationPoint.cs
- PageContentAsyncResult.cs
- FixedPageStructure.cs
- ProvidePropertyAttribute.cs
- XmlValueConverter.cs
- ServiceOperationParameter.cs
- CharKeyFrameCollection.cs
- ParentQuery.cs
- UshortList2.cs
- PageCache.cs
- ResourcePart.cs
- SamlAuthorizationDecisionStatement.cs
- HelpPage.cs
- CompositeFontInfo.cs
- TrustManagerPromptUI.cs
- ContentWrapperAttribute.cs
- OleDbCommandBuilder.cs
- ContentOnlyMessage.cs
- HopperCache.cs
- ListViewItemEventArgs.cs