Code:
/ 4.0 / 4.0 / untmp / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LineBreak.cs
- ResourceExpression.cs
- CaseInsensitiveOrdinalStringComparer.cs
- DynamicQueryStringParameter.cs
- LogStore.cs
- FixUp.cs
- AttributeEmitter.cs
- RadioButton.cs
- QueryCacheEntry.cs
- ModelProperty.cs
- ComponentDispatcher.cs
- AssociationEndMember.cs
- controlskin.cs
- SystemMulticastIPAddressInformation.cs
- ControlUtil.cs
- BackStopAuthenticationModule.cs
- PtsHost.cs
- ActionItem.cs
- RoleManagerModule.cs
- ConversionValidationRule.cs
- WebPartCancelEventArgs.cs
- HttpCapabilitiesSectionHandler.cs
- LiteralText.cs
- X509ChainElement.cs
- ShutDownListener.cs
- IgnorePropertiesAttribute.cs
- WriteableOnDemandStream.cs
- SymLanguageVendor.cs
- WebBaseEventKeyComparer.cs
- DataSvcMapFileSerializer.cs
- GPRECT.cs
- UnitySerializationHolder.cs
- UserMapPath.cs
- DataObjectAttribute.cs
- PropertyIDSet.cs
- BuildManager.cs
- PixelFormats.cs
- WorkflowStateRollbackService.cs
- ValidationHelpers.cs
- PtsCache.cs
- CompositeClientFormatter.cs
- InitializationEventAttribute.cs
- FormViewCommandEventArgs.cs
- AdapterDictionary.cs
- TemplateControlParser.cs
- SmtpNegotiateAuthenticationModule.cs
- MetadataArtifactLoaderResource.cs
- TransformDescriptor.cs
- MetadataException.cs
- DefaultBindingPropertyAttribute.cs
- EtwTrackingParticipant.cs
- EncryptedKey.cs
- MeshGeometry3D.cs
- ViewgenGatekeeper.cs
- HiddenField.cs
- DataFormats.cs
- UserNameSecurityToken.cs
- XmlReturnWriter.cs
- HtmlForm.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- MetafileEditor.cs
- ThrowOnMultipleAssignment.cs
- FunctionMappingTranslator.cs
- Condition.cs
- SettingsBase.cs
- DependentList.cs
- WmlValidationSummaryAdapter.cs
- AsyncResult.cs
- SystemThemeKey.cs
- ConfigXmlComment.cs
- TimeSpanValidatorAttribute.cs
- unsafenativemethodstextservices.cs
- ExpressionBuilder.cs
- XhtmlBasicValidatorAdapter.cs
- SliderAutomationPeer.cs
- Parser.cs
- InternalControlCollection.cs
- IUnknownConstantAttribute.cs
- PinnedBufferMemoryStream.cs
- Vars.cs
- PrivilegedConfigurationManager.cs
- FormViewModeEventArgs.cs
- MailWriter.cs
- DispatcherFrame.cs
- StartUpEventArgs.cs
- NullNotAllowedCollection.cs
- DataTablePropertyDescriptor.cs
- StorageInfo.cs
- IdentitySection.cs
- TraceHandler.cs
- ClaimTypes.cs
- XslAst.cs
- CollectionBuilder.cs
- BypassElement.cs
- PermissionToken.cs
- UnsafeNativeMethods.cs
- DebugView.cs
- _SSPISessionCache.cs
- ColorConvertedBitmap.cs
- FlowDocumentScrollViewerAutomationPeer.cs