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
- TypeUsage.cs
- SyntaxCheck.cs
- Stroke.cs
- Knowncolors.cs
- PropertyKey.cs
- DbParameterHelper.cs
- DerivedKeySecurityTokenStub.cs
- Popup.cs
- DataGridViewCellPaintingEventArgs.cs
- Invariant.cs
- ResourceContainer.cs
- XmlSchemaSubstitutionGroup.cs
- RenamedEventArgs.cs
- ColorComboBox.cs
- SamlAuthorityBinding.cs
- DataGridViewLayoutData.cs
- TableLayoutColumnStyleCollection.cs
- ResourcesChangeInfo.cs
- DbConnectionPoolGroup.cs
- CngAlgorithm.cs
- StreamAsIStream.cs
- AutoResetEvent.cs
- TextElementEnumerator.cs
- Int32Collection.cs
- ElementHost.cs
- CompilerCollection.cs
- DrawingDrawingContext.cs
- XmlMembersMapping.cs
- UrlAuthorizationModule.cs
- JsonDataContract.cs
- X509Chain.cs
- ISAPIWorkerRequest.cs
- TypeReference.cs
- SafeCancelMibChangeNotify.cs
- formatstringdialog.cs
- SynchronizedMessageSource.cs
- DataKey.cs
- HyperLink.cs
- XmlReaderSettings.cs
- TypePropertyEditor.cs
- ObjectSpanRewriter.cs
- PassportPrincipal.cs
- SecurityCriticalDataForSet.cs
- SHA384Cng.cs
- CachingHintValidation.cs
- BrushConverter.cs
- WebConfigurationManager.cs
- HandledMouseEvent.cs
- ManipulationStartedEventArgs.cs
- SpotLight.cs
- AccessViolationException.cs
- XmlIterators.cs
- VBCodeProvider.cs
- __ComObject.cs
- ListBindableAttribute.cs
- ISFClipboardData.cs
- ObjectParameterCollection.cs
- _KerberosClient.cs
- validationstate.cs
- TextBoxRenderer.cs
- Boolean.cs
- EndPoint.cs
- CreateParams.cs
- DataGridViewCellCancelEventArgs.cs
- ExpressionPrinter.cs
- ExpandButtonVisibilityConverter.cs
- TextSegment.cs
- DiscoveryExceptionDictionary.cs
- EmptyEnumerable.cs
- MessageContractAttribute.cs
- ModifierKeysValueSerializer.cs
- ThreadStateException.cs
- FontStyles.cs
- TextAdaptor.cs
- BrowserCapabilitiesCodeGenerator.cs
- StrongNameKeyPair.cs
- TemplateContentLoader.cs
- Schema.cs
- EdmItemCollection.cs
- CommandID.cs
- TransformerConfigurationWizardBase.cs
- ThemeDictionaryExtension.cs
- TreeView.cs
- Update.cs
- SystemWebCachingSectionGroup.cs
- DeclarativeCatalogPart.cs
- Baml2006ReaderFrame.cs
- HtmlTableCell.cs
- ObjectConverter.cs
- AssemblyBuilderData.cs
- KeyManager.cs
- VideoDrawing.cs
- HttpResponseWrapper.cs
- ToolStripDropDownMenu.cs
- XslVisitor.cs
- XmlSchemaAll.cs
- MemberInfoSerializationHolder.cs
- CodeMemberMethod.cs
- ArcSegment.cs
- DeferredReference.cs