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
- CompatibleComparer.cs
- VarInfo.cs
- TextFormatterContext.cs
- WSDualHttpSecurity.cs
- SiteMap.cs
- WindowPatternIdentifiers.cs
- AppDomainFactory.cs
- RuleConditionDialog.Designer.cs
- DescendantBaseQuery.cs
- FieldNameLookup.cs
- CompilerError.cs
- EdmConstants.cs
- ConsoleTraceListener.cs
- PackWebResponse.cs
- BitmapCodecInfoInternal.cs
- Permission.cs
- SymDocumentType.cs
- BinaryUtilClasses.cs
- BaseComponentEditor.cs
- DrawingGroup.cs
- PresentationTraceSources.cs
- SingleStorage.cs
- CompositeFontFamily.cs
- DataRowView.cs
- ParameterExpression.cs
- ForeignKeyConstraint.cs
- TraceSwitch.cs
- StreamWriter.cs
- TextBox.cs
- RichTextBoxConstants.cs
- TransformerTypeCollection.cs
- WsrmMessageInfo.cs
- __Filters.cs
- FullTextBreakpoint.cs
- ProjectedSlot.cs
- SmiGettersStream.cs
- Environment.cs
- HttpHandlerAction.cs
- EntityDataSourceChangingEventArgs.cs
- PeerNameRecordCollection.cs
- Models.cs
- ConnectionsZone.cs
- PrintControllerWithStatusDialog.cs
- GacUtil.cs
- RemotingHelper.cs
- SmtpFailedRecipientsException.cs
- HttpRuntimeSection.cs
- ToolStripItemEventArgs.cs
- DynamicValueConverter.cs
- RadioButtonStandardAdapter.cs
- BigIntegerStorage.cs
- AnchoredBlock.cs
- NonVisualControlAttribute.cs
- TreeViewEvent.cs
- FormViewModeEventArgs.cs
- DataBoundControlHelper.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SqlExpressionNullability.cs
- ConfigurationSectionGroup.cs
- TextEditorDragDrop.cs
- ClusterRegistryConfigurationProvider.cs
- SizeF.cs
- MimeParameters.cs
- DataGridItemEventArgs.cs
- Queue.cs
- HttpServerUtilityWrapper.cs
- CqlGenerator.cs
- RectangleGeometry.cs
- SelectionWordBreaker.cs
- PrivilegeNotHeldException.cs
- MonthCalendar.cs
- XmlILStorageConverter.cs
- DynamicRenderer.cs
- BuildDependencySet.cs
- DependencyPropertyDescriptor.cs
- CatalogPartCollection.cs
- TypeInfo.cs
- WindowsNonControl.cs
- OpenTypeLayout.cs
- SqlDataSourceCustomCommandPanel.cs
- ImportDesigner.xaml.cs
- Rijndael.cs
- MessageHeaderDescriptionCollection.cs
- DesignDataSource.cs
- RoleService.cs
- TypeConverterAttribute.cs
- TriggerCollection.cs
- TextProperties.cs
- HtmlInputReset.cs
- DefaultSettingsSection.cs
- WriterOutput.cs
- ToggleButton.cs
- mediaeventshelper.cs
- SafeMILHandle.cs
- GenericUI.cs
- ToolTipService.cs
- CustomAttributeSerializer.cs
- AuthenticationManager.cs
- CustomAttribute.cs
- NotificationContext.cs