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
- DelegatingChannelListener.cs
- ErrorStyle.cs
- WindowsProgressbar.cs
- ParseElement.cs
- EmptyStringExpandableObjectConverter.cs
- CodeCatchClause.cs
- Point3DIndependentAnimationStorage.cs
- ModelPropertyCollectionImpl.cs
- SchemaSetCompiler.cs
- DataBindingCollectionConverter.cs
- PermissionRequestEvidence.cs
- AdPostCacheSubstitution.cs
- XmlSchemaSimpleTypeList.cs
- Dump.cs
- EncoderParameters.cs
- PackageRelationshipCollection.cs
- FieldToken.cs
- XamlReaderHelper.cs
- MimeAnyImporter.cs
- Stream.cs
- TextBounds.cs
- EmptyStringExpandableObjectConverter.cs
- XmlAttributes.cs
- ReflectionServiceProvider.cs
- RtfToXamlLexer.cs
- CursorConverter.cs
- SourceElementsCollection.cs
- PointCollectionValueSerializer.cs
- HttpCookie.cs
- FaultException.cs
- NetworkAddressChange.cs
- HttpCacheVary.cs
- DataServiceConfiguration.cs
- RtfToXamlLexer.cs
- HijriCalendar.cs
- WebDescriptionAttribute.cs
- BamlResourceContent.cs
- MenuCommand.cs
- ImageBrush.cs
- DynamicValueConverter.cs
- MaskInputRejectedEventArgs.cs
- PipelineModuleStepContainer.cs
- ClaimSet.cs
- OleDbConnection.cs
- PropertyTab.cs
- BindingMemberInfo.cs
- XslAstAnalyzer.cs
- IndentTextWriter.cs
- Soap.cs
- SiteMapDataSourceView.cs
- NameValueSectionHandler.cs
- BrowserDefinition.cs
- RotateTransform.cs
- WCFServiceClientProxyGenerator.cs
- CryptoApi.cs
- SiteMapHierarchicalDataSourceView.cs
- MultipleViewProviderWrapper.cs
- CodeTypeDeclarationCollection.cs
- HelpOperationInvoker.cs
- NotifyIcon.cs
- PersonalizationDictionary.cs
- CssStyleCollection.cs
- LinearGradientBrush.cs
- InternalConfigHost.cs
- PeerNameResolver.cs
- Pkcs7Signer.cs
- PixelFormat.cs
- Label.cs
- StorageInfo.cs
- _CookieModule.cs
- WindowsBrush.cs
- _BaseOverlappedAsyncResult.cs
- HandleRef.cs
- SvcMapFileSerializer.cs
- SubMenuStyleCollectionEditor.cs
- ZipIOModeEnforcingStream.cs
- BindingExpression.cs
- Parser.cs
- WebPartManagerInternals.cs
- BindingNavigator.cs
- RangeBaseAutomationPeer.cs
- SspiSafeHandles.cs
- EventProviderClassic.cs
- BaseCodeDomTreeGenerator.cs
- ADRoleFactory.cs
- EntityConnectionStringBuilderItem.cs
- CaseExpr.cs
- ASCIIEncoding.cs
- ListArgumentProvider.cs
- Serializer.cs
- HttpRequestCacheValidator.cs
- WCFServiceClientProxyGenerator.cs
- FixedSOMLineCollection.cs
- ServiceHttpHandlerFactory.cs
- LogReservationCollection.cs
- HotSpot.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Mapping.cs
- StylusPlugin.cs
- EntityException.cs