Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EventDescriptor.cs
- ValidatorCollection.cs
- PnrpPeerResolverBindingElement.cs
- SkipStoryboardToFill.cs
- RequestCachingSection.cs
- CannotUnloadAppDomainException.cs
- TraceUtility.cs
- StringComparer.cs
- DebugViewWriter.cs
- Missing.cs
- TransformProviderWrapper.cs
- XmlDictionaryReaderQuotas.cs
- IISUnsafeMethods.cs
- DataControlLinkButton.cs
- DivideByZeroException.cs
- DataGridViewTextBoxColumn.cs
- MachineSettingsSection.cs
- VirtualDirectoryMappingCollection.cs
- ProtocolsConfigurationEntry.cs
- PasswordRecovery.cs
- Int32.cs
- DescendantOverDescendantQuery.cs
- CompositeFontInfo.cs
- SrgsNameValueTag.cs
- HtmlFormWrapper.cs
- BuildProvidersCompiler.cs
- XmlSchemaInfo.cs
- Brush.cs
- TransformedBitmap.cs
- HttpModuleActionCollection.cs
- Win32MouseDevice.cs
- ProjectionNode.cs
- ArraySegment.cs
- LinqToSqlWrapper.cs
- RuntimeConfig.cs
- ArrayConverter.cs
- CqlErrorHelper.cs
- ValidationPropertyAttribute.cs
- ThrowHelper.cs
- MSAAWinEventWrap.cs
- Types.cs
- XmlSecureResolver.cs
- BCryptNative.cs
- WmlLabelAdapter.cs
- IndependentAnimationStorage.cs
- WinCategoryAttribute.cs
- PrimitiveXmlSerializers.cs
- ToolStripSystemRenderer.cs
- EqualityComparer.cs
- FontInfo.cs
- TextFindEngine.cs
- SectionRecord.cs
- RectConverter.cs
- TextServicesCompartment.cs
- Wrapper.cs
- TimeIntervalCollection.cs
- ListDictionary.cs
- AppDomainUnloadedException.cs
- Int32KeyFrameCollection.cs
- XmlAtomicValue.cs
- DbConnectionPoolGroup.cs
- PointKeyFrameCollection.cs
- CompiledXpathExpr.cs
- PersonalizationStateQuery.cs
- ControllableStoryboardAction.cs
- AppSecurityManager.cs
- RoutedEventArgs.cs
- Assembly.cs
- LambdaReference.cs
- CacheChildrenQuery.cs
- Win32MouseDevice.cs
- SemaphoreFullException.cs
- RepeaterCommandEventArgs.cs
- SoapEnumAttribute.cs
- ImageListStreamer.cs
- MergeFilterQuery.cs
- IncrementalCompileAnalyzer.cs
- safemediahandle.cs
- Propagator.JoinPropagator.cs
- Compress.cs
- SafeCryptHandles.cs
- cryptoapiTransform.cs
- LayoutInformation.cs
- InkCanvasInnerCanvas.cs
- DataControlPagerLinkButton.cs
- RegionData.cs
- RemotingAttributes.cs
- ValueExpressions.cs
- StorageMappingItemCollection.cs
- ContractMapping.cs
- XMLUtil.cs
- SurrogateSelector.cs
- StreamInfo.cs
- SQLChars.cs
- Freezable.cs
- SmtpNetworkElement.cs
- VirtualPath.cs
- BaseParser.cs
- WebRequest.cs
- ExpressionBinding.cs