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
- TextSelectionHelper.cs
- UDPClient.cs
- DynamicResourceExtension.cs
- DrawingGroup.cs
- ButtonRenderer.cs
- ToolboxItemCollection.cs
- SafeNativeMethodsCLR.cs
- ExpressionDumper.cs
- FixedNode.cs
- ConsoleCancelEventArgs.cs
- Rotation3D.cs
- SymbolUsageManager.cs
- PagedControl.cs
- GlyphRun.cs
- AsymmetricSignatureFormatter.cs
- AdapterUtil.cs
- AxHostDesigner.cs
- DirectoryNotFoundException.cs
- DesignerActionItem.cs
- XmlTypeMapping.cs
- RijndaelCryptoServiceProvider.cs
- UIElementPropertyUndoUnit.cs
- SynchronizedDispatch.cs
- WindowsListViewSubItem.cs
- WindowsGraphics.cs
- DbSourceParameterCollection.cs
- IISMapPath.cs
- RtType.cs
- MissingMemberException.cs
- ObjectDataProvider.cs
- TransactedReceiveData.cs
- SiteMapSection.cs
- CompilerWrapper.cs
- PrintingPermission.cs
- Button.cs
- Library.cs
- RadioButtonList.cs
- CodeGenerator.cs
- BevelBitmapEffect.cs
- WebPartMinimizeVerb.cs
- AmbientLight.cs
- Slider.cs
- DocumentViewerHelper.cs
- FormViewRow.cs
- URI.cs
- PartialCachingControl.cs
- AppDomain.cs
- Transform3D.cs
- BamlTreeMap.cs
- DynamicFilterExpression.cs
- TextPointer.cs
- TableStyle.cs
- RotationValidation.cs
- SystemIPInterfaceStatistics.cs
- TableAutomationPeer.cs
- HttpCacheVary.cs
- DataControlFieldHeaderCell.cs
- CssStyleCollection.cs
- CodeEventReferenceExpression.cs
- SelectorItemAutomationPeer.cs
- TdsParserSafeHandles.cs
- DynamicPhysicalDiscoSearcher.cs
- AssemblyBuilderData.cs
- PrintingPermission.cs
- CaseInsensitiveHashCodeProvider.cs
- PrePostDescendentsWalker.cs
- DefaultBinder.cs
- AvTrace.cs
- ToolStripManager.cs
- TrackingRecord.cs
- ConstNode.cs
- OuterProxyWrapper.cs
- FlowchartStart.xaml.cs
- DataTableMapping.cs
- PatternMatcher.cs
- AesManaged.cs
- ToggleButtonAutomationPeer.cs
- SecurityChannel.cs
- ArglessEventHandlerProxy.cs
- AudioBase.cs
- TerminatorSinks.cs
- SettingsSavedEventArgs.cs
- HttpListenerRequestTraceRecord.cs
- PropertyEmitter.cs
- EditorPartChrome.cs
- FlowchartDesigner.xaml.cs
- CodeCastExpression.cs
- StringArrayConverter.cs
- ReflectionUtil.cs
- InvokePattern.cs
- SynchronizedInputAdaptor.cs
- WebBrowserProgressChangedEventHandler.cs
- ExceptionHelpers.cs
- ProfilePropertySettings.cs
- ParameterToken.cs
- AsymmetricSignatureDeformatter.cs
- LocalizabilityAttribute.cs
- MouseOverProperty.cs
- XmlSchemaInclude.cs
- Padding.cs