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
- ListViewDataItem.cs
- GenericFlowSwitchHelper.cs
- SafeFindHandle.cs
- AccessedThroughPropertyAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlWrappingWriter.cs
- ParameterBinding.cs
- Wizard.cs
- DrawingContextDrawingContextWalker.cs
- EndpointIdentityExtension.cs
- CustomAttributeFormatException.cs
- URLString.cs
- SoapDocumentServiceAttribute.cs
- FtpWebRequest.cs
- DragDeltaEventArgs.cs
- BitmapDownload.cs
- ListControlActionList.cs
- DataGrid.cs
- ReflectionHelper.cs
- Encoder.cs
- CodeIdentifier.cs
- SafeHandle.cs
- HTMLTextWriter.cs
- AdornerDecorator.cs
- UriExt.cs
- TableCellsCollectionEditor.cs
- WebPartCancelEventArgs.cs
- ExpressionBindingCollection.cs
- TwoPhaseCommitProxy.cs
- ToolboxComponentsCreatedEventArgs.cs
- DeflateEmulationStream.cs
- OracleConnectionFactory.cs
- GlobalizationSection.cs
- CompiledRegexRunner.cs
- AlphaSortedEnumConverter.cs
- BevelBitmapEffect.cs
- MailMessageEventArgs.cs
- UTF8Encoding.cs
- PolyBezierSegment.cs
- SignatureDescription.cs
- SqlDataReader.cs
- BasicKeyConstraint.cs
- TextWriterTraceListener.cs
- InkPresenter.cs
- AncestorChangedEventArgs.cs
- XsdDateTime.cs
- SqlBuffer.cs
- PersistenceTypeAttribute.cs
- CodeGotoStatement.cs
- NetworkStream.cs
- ExpressionEditorAttribute.cs
- SpotLight.cs
- RecognizerBase.cs
- XmlDocumentFragment.cs
- WasHttpHandlersInstallComponent.cs
- Canvas.cs
- BooleanAnimationBase.cs
- XmlDomTextWriter.cs
- DefaultPropertyAttribute.cs
- UnknownWrapper.cs
- XmlSchemaObjectCollection.cs
- TickBar.cs
- pingexception.cs
- OleDbConnectionInternal.cs
- DependencyObjectCodeDomSerializer.cs
- TabletCollection.cs
- InkPresenterAutomationPeer.cs
- ListViewInsertEventArgs.cs
- CodeLabeledStatement.cs
- PeerSecurityManager.cs
- InputProviderSite.cs
- Misc.cs
- PersistenceTypeAttribute.cs
- UrlMappingsSection.cs
- FileDetails.cs
- WebPartDisplayMode.cs
- NonBatchDirectoryCompiler.cs
- WebPartDisplayModeEventArgs.cs
- PeerTransportListenAddressValidatorAttribute.cs
- ProviderSettingsCollection.cs
- Schema.cs
- QuaternionConverter.cs
- ZipIOModeEnforcingStream.cs
- OutputScopeManager.cs
- OraclePermission.cs
- PointUtil.cs
- OleDbConnectionFactory.cs
- FrameworkElementFactoryMarkupObject.cs
- NativeObjectSecurity.cs
- Compensation.cs
- ConditionCollection.cs
- ObjectItemCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- GeometryGroup.cs
- SettingsAttributeDictionary.cs
- AppendHelper.cs
- WindowsScrollBarBits.cs
- XPathConvert.cs
- DataListCommandEventArgs.cs
- GroupBox.cs