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
- SafeHGlobalHandleCritical.cs
- ICollection.cs
- TextTreeTextElementNode.cs
- GetLedgerEntryForRecipientRequest.cs
- ColumnBinding.cs
- SecurityManager.cs
- BitSet.cs
- RepeaterItemEventArgs.cs
- MatcherBuilder.cs
- SafeIUnknown.cs
- EditorPart.cs
- UriWriter.cs
- DurableRuntimeValidator.cs
- DataBinding.cs
- CompilerInfo.cs
- RequestCacheEntry.cs
- EnumerableRowCollection.cs
- OrderablePartitioner.cs
- HostedTcpTransportManager.cs
- Matrix3DConverter.cs
- HyperLinkColumn.cs
- SqlVersion.cs
- PassportPrincipal.cs
- PartitionedDataSource.cs
- JapaneseCalendar.cs
- FacetValueContainer.cs
- PlatformNotSupportedException.cs
- LinqDataSourceContextData.cs
- AsyncCompletedEventArgs.cs
- GeneralTransformGroup.cs
- _WinHttpWebProxyDataBuilder.cs
- InvariantComparer.cs
- PlatformCulture.cs
- ManipulationVelocities.cs
- HttpStreamMessage.cs
- EntityContainerAssociationSet.cs
- ThemeableAttribute.cs
- ApplicationActivator.cs
- UnauthorizedAccessException.cs
- DateTimeFormat.cs
- InheritedPropertyChangedEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- MemoryResponseElement.cs
- ToolStripActionList.cs
- querybuilder.cs
- EntityDataSourceSelectingEventArgs.cs
- TextParaLineResult.cs
- WebPartDisplayModeEventArgs.cs
- TextModifier.cs
- BooleanProjectedSlot.cs
- MarkupCompilePass2.cs
- RoleManagerModule.cs
- SamlSerializer.cs
- TextRunCache.cs
- HandoffBehavior.cs
- Splitter.cs
- MultiSelector.cs
- GenericUI.cs
- DataSourceCache.cs
- UserControl.cs
- HMACSHA256.cs
- SQLStringStorage.cs
- BitmapData.cs
- CallbackValidatorAttribute.cs
- OutputCacheProfile.cs
- ErrorRuntimeConfig.cs
- TextServicesManager.cs
- __ComObject.cs
- CustomTypeDescriptor.cs
- CodeCompileUnit.cs
- ThicknessConverter.cs
- ListViewCommandEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- RegularExpressionValidator.cs
- PlaceHolder.cs
- DbMetaDataColumnNames.cs
- SmiRecordBuffer.cs
- BrowserTree.cs
- InputBinder.cs
- SqlVisitor.cs
- webproxy.cs
- MeasureItemEvent.cs
- WebPartVerbsEventArgs.cs
- PropertyChangeTracker.cs
- Image.cs
- EpmSourceTree.cs
- HttpConfigurationSystem.cs
- DecoderFallback.cs
- PasswordDeriveBytes.cs
- WarningException.cs
- XmlTypeAttribute.cs
- PropertyChangingEventArgs.cs
- Latin1Encoding.cs
- UnknownBitmapDecoder.cs
- Geometry3D.cs
- HttpRawResponse.cs
- UIHelper.cs
- METAHEADER.cs
- CaseStatementProjectedSlot.cs
- FormViewInsertEventArgs.cs