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
- SingleKeyFrameCollection.cs
- FilterQuery.cs
- TraceSection.cs
- InkPresenter.cs
- Int64Animation.cs
- DesignerTransactionCloseEvent.cs
- ClockGroup.cs
- NameValueCollection.cs
- HtmlGenericControl.cs
- DataRecordInternal.cs
- ISessionStateStore.cs
- OleDbMetaDataFactory.cs
- LambdaReference.cs
- CurrentChangedEventManager.cs
- MasterPage.cs
- CLSCompliantAttribute.cs
- TextBoxBase.cs
- BinaryUtilClasses.cs
- DefaultProxySection.cs
- TargetParameterCountException.cs
- DataListItemCollection.cs
- MarshalByRefObject.cs
- OdbcErrorCollection.cs
- SqlExpressionNullability.cs
- Speller.cs
- DocumentReference.cs
- LocalizabilityAttribute.cs
- AuthorizationSection.cs
- SqlCrossApplyToCrossJoin.cs
- DataControlCommands.cs
- MediaTimeline.cs
- TableAdapterManagerNameHandler.cs
- CodeAttributeDeclaration.cs
- BrowserDefinition.cs
- ListQueryResults.cs
- FormsIdentity.cs
- XmlSchemaComplexContentRestriction.cs
- SpeechDetectedEventArgs.cs
- XmlSignatureManifest.cs
- Grant.cs
- IEnumerable.cs
- WebControlAdapter.cs
- EntityDataSourceQueryBuilder.cs
- Formatter.cs
- XamlInterfaces.cs
- NamespaceEmitter.cs
- TemplateControlCodeDomTreeGenerator.cs
- HyperLinkDataBindingHandler.cs
- IriParsingElement.cs
- DockAndAnchorLayout.cs
- DispatchChannelSink.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- CapacityStreamGeometryContext.cs
- ConfigurationProperty.cs
- TextServicesCompartment.cs
- CreateUserWizardAutoFormat.cs
- BackgroundWorker.cs
- EncoderExceptionFallback.cs
- Point3D.cs
- ToolStripPanelRenderEventArgs.cs
- FileDialog_Vista.cs
- DesignerVerb.cs
- ResourceContainer.cs
- _ScatterGatherBuffers.cs
- parserscommon.cs
- AssemblyResourceLoader.cs
- ResourceKey.cs
- UserNameSecurityTokenAuthenticator.cs
- FormatterConverter.cs
- PropertyContainer.cs
- TrustLevel.cs
- ColorConverter.cs
- OutputCacheSection.cs
- CombinedTcpChannel.cs
- loginstatus.cs
- AutomationIdentifier.cs
- LocalizationComments.cs
- TrackingStringDictionary.cs
- StylusPointProperty.cs
- SaveFileDialog.cs
- UntrustedRecipientException.cs
- RankException.cs
- InplaceBitmapMetadataWriter.cs
- CodeAccessPermission.cs
- StorageMappingItemCollection.cs
- CharacterMetricsDictionary.cs
- EdmScalarPropertyAttribute.cs
- RoleManagerSection.cs
- HttpPostedFile.cs
- SourceChangedEventArgs.cs
- DataFormats.cs
- JoinTreeNode.cs
- SoapHelper.cs
- _AcceptOverlappedAsyncResult.cs
- Sequence.cs
- OuterGlowBitmapEffect.cs
- Model3DCollection.cs
- CodeFieldReferenceExpression.cs
- HandlerElementCollection.cs
- Int64AnimationBase.cs