Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ClipboardProcessor.cs
- CodePrimitiveExpression.cs
- TransformedBitmap.cs
- CanonicalXml.cs
- AnnotationMap.cs
- X509UI.cs
- UnsafeNativeMethods.cs
- ObjectIDGenerator.cs
- SineEase.cs
- HierarchicalDataBoundControlAdapter.cs
- RectangleHotSpot.cs
- CorrelationManager.cs
- SearchForVirtualItemEventArgs.cs
- RunClient.cs
- CheckBoxAutomationPeer.cs
- DataPointer.cs
- SrgsGrammar.cs
- DataTemplate.cs
- FontSizeConverter.cs
- BitmapEffectvisualstate.cs
- ManagementObjectSearcher.cs
- DataGridViewColumnEventArgs.cs
- RepeaterItem.cs
- TargetControlTypeCache.cs
- HttpApplicationStateWrapper.cs
- Variant.cs
- SmtpNegotiateAuthenticationModule.cs
- SelectionEditingBehavior.cs
- ScopeElementCollection.cs
- TCPClient.cs
- XamlInt32CollectionSerializer.cs
- DataControlLinkButton.cs
- TextShapeableCharacters.cs
- SpeechRecognizer.cs
- Empty.cs
- IndentTextWriter.cs
- SerializerDescriptor.cs
- NTAccount.cs
- SortableBindingList.cs
- ADConnectionHelper.cs
- SqlAliaser.cs
- EastAsianLunisolarCalendar.cs
- SingleObjectCollection.cs
- _SslStream.cs
- MouseEventArgs.cs
- FileBasedResourceGroveler.cs
- DataGridViewDataErrorEventArgs.cs
- ConfigXmlElement.cs
- MatrixTransform.cs
- RawAppCommandInputReport.cs
- DictionaryGlobals.cs
- ModuleElement.cs
- FixedSOMFixedBlock.cs
- Style.cs
- SmtpSection.cs
- CodeLabeledStatement.cs
- UniqueConstraint.cs
- MarkupProperty.cs
- ParallelLoopState.cs
- MessageQueueEnumerator.cs
- StringConcat.cs
- EntityDataSourceDataSelectionPanel.cs
- Quaternion.cs
- DataRowCollection.cs
- DataGridRow.cs
- EFDataModelProvider.cs
- BasicCommandTreeVisitor.cs
- FixedSOMSemanticBox.cs
- NotifyParentPropertyAttribute.cs
- SqlNotificationEventArgs.cs
- PriorityItem.cs
- SiteOfOriginPart.cs
- AbsoluteQuery.cs
- securitycriticaldataformultiplegetandset.cs
- CoreChannel.cs
- FileCodeGroup.cs
- DataGridViewButtonCell.cs
- SessionStateSection.cs
- XmlSchemaParticle.cs
- DataViewSettingCollection.cs
- ObjectNotFoundException.cs
- FlagsAttribute.cs
- CodeThrowExceptionStatement.cs
- ElementNotEnabledException.cs
- TabControl.cs
- _SSPISessionCache.cs
- WeakEventTable.cs
- ResourceWriter.cs
- WCFServiceClientProxyGenerator.cs
- PerfCounterSection.cs
- TemplateColumn.cs
- SecureConversationDriver.cs
- IndentedWriter.cs
- SizeConverter.cs
- State.cs
- HttpStreamFormatter.cs
- DynamicAttribute.cs
- IdnElement.cs
- XmlSchemaObjectCollection.cs
- SimpleHandlerFactory.cs