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
- XmlSchemaAppInfo.cs
- XmlSchemaSearchPattern.cs
- SecurityRuntime.cs
- ObjectDisposedException.cs
- InlineUIContainer.cs
- ToolStripContainer.cs
- GPPOINTF.cs
- RawStylusInputCustomData.cs
- path.cs
- TableLayoutPanel.cs
- MultiAsyncResult.cs
- StyleBamlRecordReader.cs
- WebBrowserProgressChangedEventHandler.cs
- GradientStopCollection.cs
- ThemeDirectoryCompiler.cs
- HandlerBase.cs
- ObjectStateFormatter.cs
- AtomParser.cs
- BinHexEncoder.cs
- WizardPanelChangingEventArgs.cs
- UIElement.cs
- GridSplitterAutomationPeer.cs
- DetailsViewUpdatedEventArgs.cs
- MatrixStack.cs
- SiteMapDataSourceView.cs
- LogWriteRestartAreaAsyncResult.cs
- FeatureSupport.cs
- ListItem.cs
- NetStream.cs
- MetadataUtilsSmi.cs
- StreamMarshaler.cs
- AdRotator.cs
- BezierSegment.cs
- Message.cs
- SchemaObjectWriter.cs
- WFItemsToSpacerVisibility.cs
- SByte.cs
- DocumentApplication.cs
- SchemaNamespaceManager.cs
- WebRequest.cs
- SessionPageStatePersister.cs
- TreeNode.cs
- Msec.cs
- Path.cs
- ReservationNotFoundException.cs
- ASCIIEncoding.cs
- UInt64Converter.cs
- XmlWriter.cs
- HtmlTableCell.cs
- ActiveXHost.cs
- ThreadAttributes.cs
- SqlFactory.cs
- KeyedCollection.cs
- TextPenaltyModule.cs
- ParameterElement.cs
- QilPatternVisitor.cs
- StatusBar.cs
- SqlWorkflowInstanceStoreLock.cs
- mda.cs
- FacetDescription.cs
- SiteMapDataSource.cs
- AsyncPostBackTrigger.cs
- ResourceDisplayNameAttribute.cs
- ToolStripControlHost.cs
- SpeechDetectedEventArgs.cs
- ArglessEventHandlerProxy.cs
- GcHandle.cs
- PrintingPermission.cs
- DateTimeValueSerializerContext.cs
- RedistVersionInfo.cs
- WindowInteractionStateTracker.cs
- HttpApplicationStateWrapper.cs
- TextRange.cs
- XmlNamespaceDeclarationsAttribute.cs
- validationstate.cs
- ProxyFragment.cs
- SystemWebSectionGroup.cs
- httpstaticobjectscollection.cs
- Cursors.cs
- ComponentEditorForm.cs
- BooleanFacetDescriptionElement.cs
- IPAddress.cs
- WindowHelperService.cs
- ToolStripItem.cs
- UserValidatedEventArgs.cs
- KeyInterop.cs
- DocumentOrderComparer.cs
- InlineObject.cs
- TypeExtensionSerializer.cs
- TextModifier.cs
- Int32.cs
- MimeTypePropertyAttribute.cs
- XmlResolver.cs
- Translator.cs
- ObjectStorage.cs
- ObjectItemCollection.cs
- XmlSchemaSimpleContent.cs
- SafeArrayRankMismatchException.cs
- ConfigurationElementCollection.cs
- DocumentViewerHelper.cs