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
- IFlowDocumentViewer.cs
- ScriptResourceAttribute.cs
- PropertyToken.cs
- RealizationDrawingContextWalker.cs
- RegexInterpreter.cs
- ACE.cs
- EnumConverter.cs
- TemplateControlParser.cs
- MailBnfHelper.cs
- EnumBuilder.cs
- SubpageParagraph.cs
- ListViewUpdatedEventArgs.cs
- EntityWrapperFactory.cs
- DataSourceCache.cs
- NamespaceCollection.cs
- QuerySettings.cs
- TypeNameConverter.cs
- DataGridCommandEventArgs.cs
- XamlToRtfParser.cs
- AnimationClock.cs
- GridSplitter.cs
- SelectionProcessor.cs
- InternalConfigConfigurationFactory.cs
- ComplexBindingPropertiesAttribute.cs
- CodeObjectCreateExpression.cs
- OracleConnectionStringBuilder.cs
- Cursors.cs
- StateDesigner.cs
- EventListener.cs
- GetPageNumberCompletedEventArgs.cs
- PriorityItem.cs
- TablePattern.cs
- BrowserInteropHelper.cs
- Permission.cs
- ObjectDataSourceDesigner.cs
- QilIterator.cs
- GAC.cs
- SafeCoTaskMem.cs
- TransformationRules.cs
- EventItfInfo.cs
- BamlLocalizationDictionary.cs
- ProviderConnectionPoint.cs
- SyndicationSerializer.cs
- Matrix3D.cs
- PageFunction.cs
- ClassHandlersStore.cs
- DataContractJsonSerializerOperationFormatter.cs
- Cell.cs
- GlobalizationSection.cs
- ClusterRegistryConfigurationProvider.cs
- ResourceContainerWrapper.cs
- SurrogateEncoder.cs
- RadioButton.cs
- OwnerDrawPropertyBag.cs
- Label.cs
- FixedDocumentSequencePaginator.cs
- ArrangedElementCollection.cs
- SchemaElementLookUpTable.cs
- Rotation3DAnimation.cs
- FillErrorEventArgs.cs
- ExtractedStateEntry.cs
- LineGeometry.cs
- ClientRoleProvider.cs
- CorruptingExceptionCommon.cs
- TimersDescriptionAttribute.cs
- TraceSection.cs
- HexParser.cs
- SizeConverter.cs
- LoadWorkflowByInstanceKeyCommand.cs
- MenuStrip.cs
- IssuedTokenClientElement.cs
- DataGridViewColumnEventArgs.cs
- CancelEventArgs.cs
- ListView.cs
- ViewStateModeByIdAttribute.cs
- regiisutil.cs
- BoundConstants.cs
- SmiRecordBuffer.cs
- FieldToken.cs
- DecimalAnimation.cs
- SQLChars.cs
- IdentifierService.cs
- ApplicationCommands.cs
- QueryOptionExpression.cs
- TaskScheduler.cs
- CodeCommentStatementCollection.cs
- PropertyGridCommands.cs
- DataGridViewCellValueEventArgs.cs
- ActivityDesignerHighlighter.cs
- WebBrowser.cs
- SettingsBindableAttribute.cs
- MachineKeySection.cs
- QuestionEventArgs.cs
- SortableBindingList.cs
- WebPartZoneBaseDesigner.cs
- BehaviorEditorPart.cs
- XPathPatternBuilder.cs
- AssemblyResourceLoader.cs
- XDRSchema.cs
- GroupByExpressionRewriter.cs