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
- _DisconnectOverlappedAsyncResult.cs
- WizardDesigner.cs
- DllHostedComPlusServiceHost.cs
- MetabaseSettingsIis7.cs
- ErrorFormatter.cs
- ListBoxItem.cs
- DataGridViewCellCancelEventArgs.cs
- OracleColumn.cs
- NotificationContext.cs
- SQLDateTime.cs
- ManagedWndProcTracker.cs
- AtomicFile.cs
- PageContent.cs
- LocalClientSecuritySettings.cs
- PowerModeChangedEventArgs.cs
- Hashtable.cs
- SingleConverter.cs
- Point3DKeyFrameCollection.cs
- IsolationInterop.cs
- SQLResource.cs
- SafeLocalAllocation.cs
- ChannelDispatcher.cs
- ObjectConverter.cs
- DocumentXPathNavigator.cs
- DescendantQuery.cs
- XmlValidatingReader.cs
- TextElementCollectionHelper.cs
- CodeObjectCreateExpression.cs
- TdsParserStaticMethods.cs
- InternalConfigEventArgs.cs
- NativeMethodsCLR.cs
- Floater.cs
- AuditLogLocation.cs
- ParserExtension.cs
- CheckBoxList.cs
- PriorityItem.cs
- XhtmlBasicPageAdapter.cs
- SafeEventLogReadHandle.cs
- AddValidationError.cs
- ToolStripPanel.cs
- documentsequencetextview.cs
- CodeBinaryOperatorExpression.cs
- TextBreakpoint.cs
- DrawingContext.cs
- SafeRightsManagementSessionHandle.cs
- NavigationWindowAutomationPeer.cs
- FlowDocumentReaderAutomationPeer.cs
- FileDataSourceCache.cs
- ImpersonationContext.cs
- PropertyDescriptor.cs
- EntitySqlQueryCacheEntry.cs
- LinkTarget.cs
- RuntimeConfigurationRecord.cs
- BuildProviderAppliesToAttribute.cs
- wgx_exports.cs
- Clause.cs
- UidPropertyAttribute.cs
- HtmlPhoneCallAdapter.cs
- DataGridColumn.cs
- KoreanCalendar.cs
- SR.cs
- PositiveTimeSpanValidator.cs
- DataContractJsonSerializerOperationFormatter.cs
- EncoderNLS.cs
- templategroup.cs
- TreeChangeInfo.cs
- FlowchartStart.xaml.cs
- WebBrowserProgressChangedEventHandler.cs
- BrowserCapabilitiesFactory.cs
- XmlNodeReader.cs
- CodeNamespaceImport.cs
- AudioStateChangedEventArgs.cs
- CacheMemory.cs
- MsmqAuthenticationMode.cs
- LocalizedNameDescriptionPair.cs
- DesignSurfaceEvent.cs
- LocatorGroup.cs
- SystemTcpConnection.cs
- TypeHelper.cs
- InkPresenterAutomationPeer.cs
- SqlMultiplexer.cs
- WebPartManager.cs
- XmlAtomicValue.cs
- XmlConvert.cs
- CompositeCollection.cs
- ListBase.cs
- FieldAccessException.cs
- CodeNamespace.cs
- ExpressionNode.cs
- DataGridViewColumnConverter.cs
- CookieProtection.cs
- WebScriptMetadataMessage.cs
- WorkflowOperationAsyncResult.cs
- BasicKeyConstraint.cs
- Popup.cs
- DataGridViewColumnHeaderCell.cs
- PaperSource.cs
- BmpBitmapDecoder.cs
- Missing.cs
- SafeHandles.cs