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
- DoubleCollectionValueSerializer.cs
- TextRange.cs
- ContainsSearchOperator.cs
- RegexRunnerFactory.cs
- SqlTrackingWorkflowInstance.cs
- CultureInfo.cs
- CommandArguments.cs
- LayoutEvent.cs
- SystemPens.cs
- CursorInteropHelper.cs
- EpmAttributeNameBuilder.cs
- SymbolType.cs
- OleDbCommandBuilder.cs
- LoginCancelEventArgs.cs
- MimeWriter.cs
- RectAnimationBase.cs
- DescendantOverDescendantQuery.cs
- StylusButtonEventArgs.cs
- DeviceContext.cs
- IntranetCredentialPolicy.cs
- UserControl.cs
- prefixendpointaddressmessagefiltertable.cs
- TableProvider.cs
- ImageProxy.cs
- GraphicsPath.cs
- BuildResultCache.cs
- XmlChoiceIdentifierAttribute.cs
- HtmlTernaryTree.cs
- WorkflowWebService.cs
- DescendantQuery.cs
- Point.cs
- PointAnimationClockResource.cs
- Convert.cs
- sqlstateclientmanager.cs
- TableCell.cs
- Transaction.cs
- XPathAncestorIterator.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- StoreItemCollection.Loader.cs
- ConnectionConsumerAttribute.cs
- DataControlCommands.cs
- SqlDataSourceSelectingEventArgs.cs
- ObjectConverter.cs
- UMPAttributes.cs
- newinstructionaction.cs
- XamlNamespaceHelper.cs
- TableParaClient.cs
- VisualStyleRenderer.cs
- HttpCapabilitiesBase.cs
- securitycriticaldata.cs
- WebServiceParameterData.cs
- SecurityUtils.cs
- NotCondition.cs
- EdmItemCollection.cs
- InputReport.cs
- complextypematerializer.cs
- CubicEase.cs
- HatchBrush.cs
- LinkClickEvent.cs
- XmlMembersMapping.cs
- Tuple.cs
- SerialPinChanges.cs
- FlowDocumentReader.cs
- ExpressionPrinter.cs
- CellRelation.cs
- DoubleLinkList.cs
- SspiHelper.cs
- CharConverter.cs
- PerformanceCounterPermissionAttribute.cs
- BitStream.cs
- ControlEvent.cs
- ServerValidateEventArgs.cs
- Int16Storage.cs
- DockAndAnchorLayout.cs
- Rule.cs
- CertificateManager.cs
- EndpointConfigContainer.cs
- DefaultMemberAttribute.cs
- ArraySet.cs
- MaterialCollection.cs
- SerializerProvider.cs
- NewArray.cs
- BuildManager.cs
- WindowsServiceCredential.cs
- IsolatedStorageSecurityState.cs
- SchemaImporterExtensionElement.cs
- SqlServices.cs
- SurrogateSelector.cs
- TextLineBreak.cs
- HttpProfileBase.cs
- GenericEnumerator.cs
- SettingsContext.cs
- FileSystemWatcher.cs
- Configuration.cs
- DisplayNameAttribute.cs
- wmiprovider.cs
- ThumbButtonInfoCollection.cs
- CustomCategoryAttribute.cs
- XmlSchemaException.cs
- CompositeActivityMarkupSerializer.cs