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
- FileFormatException.cs
- FileDataSourceCache.cs
- FilterElement.cs
- ViewDesigner.cs
- GenericXmlSecurityToken.cs
- XPathItem.cs
- ApplyHostConfigurationBehavior.cs
- Completion.cs
- WindowsListViewGroup.cs
- ChannelBinding.cs
- OdbcFactory.cs
- CollectionViewGroupRoot.cs
- WorkflowPageSetupDialog.cs
- GenericRootAutomationPeer.cs
- PropertyPushdownHelper.cs
- CodeExporter.cs
- HtmlHead.cs
- XmlSchemaAny.cs
- NavigationCommands.cs
- StorageComplexPropertyMapping.cs
- Transform.cs
- GenericIdentity.cs
- Baml2006ReaderContext.cs
- StylusPointDescription.cs
- SQLResource.cs
- FilteredSchemaElementLookUpTable.cs
- AuthenticationService.cs
- RelationshipConstraintValidator.cs
- DesignerObject.cs
- SqlCacheDependencyDatabaseCollection.cs
- ComponentManagerBroker.cs
- MaterialCollection.cs
- XmlSchemaImport.cs
- Monitor.cs
- IItemProperties.cs
- BitmapPalette.cs
- WebConfigurationFileMap.cs
- TypedRowGenerator.cs
- RadioButtonList.cs
- ToolStripLabel.cs
- RelOps.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs
- SvcFileManager.cs
- RelationshipFixer.cs
- Int32Converter.cs
- CounterCreationDataCollection.cs
- ZipIOExtraFieldElement.cs
- MDIClient.cs
- ControlPaint.cs
- SkewTransform.cs
- SettingsPropertyValueCollection.cs
- Dynamic.cs
- Pkcs7Recipient.cs
- ImageFormatConverter.cs
- METAHEADER.cs
- DataRelationCollection.cs
- QuaternionAnimation.cs
- ModuleConfigurationInfo.cs
- XmlSchemaComplexContentRestriction.cs
- RenderTargetBitmap.cs
- LineServices.cs
- CodeAttributeArgumentCollection.cs
- HasCopySemanticsAttribute.cs
- Pair.cs
- CorrelationTokenInvalidatedHandler.cs
- GradientBrush.cs
- ResourceReferenceExpression.cs
- FixedNode.cs
- TreeNodeConverter.cs
- DataControlFieldCollection.cs
- PropertyChange.cs
- AsyncResult.cs
- WebPartRestoreVerb.cs
- httpserverutility.cs
- StrongNamePublicKeyBlob.cs
- TreeNodeBindingCollection.cs
- RouteParser.cs
- PasswordPropertyTextAttribute.cs
- IPipelineRuntime.cs
- JournalEntryListConverter.cs
- RangeContentEnumerator.cs
- Crc32Helper.cs
- CachedPathData.cs
- DiffuseMaterial.cs
- OdbcInfoMessageEvent.cs
- Transform.cs
- ellipse.cs
- GeometryGroup.cs
- URL.cs
- SEHException.cs
- DataStorage.cs
- TimeSpanStorage.cs
- ConfigurationHelpers.cs
- dbenumerator.cs
- SmtpReplyReaderFactory.cs
- ProfileSection.cs
- ProgressiveCrcCalculatingStream.cs
- Transform.cs
- CircleHotSpot.cs