Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / AddingNewEventArgs.cs / 1305376 / AddingNewEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Security.Permissions; ////// Provides data for an event that signals the adding of a new object /// to a list, allowing any event handler to supply the new object. If /// no event handler supplies a new object to use, the list should create /// one itself. /// [HostProtection(SharedState = true)] public class AddingNewEventArgs : EventArgs { private object newObject = null; ////// Initializes a new instance of the public AddingNewEventArgs() : base() { } ///class, /// with no new object defined. /// /// Initializes a new instance of the public AddingNewEventArgs(object newObject) : base() { this.newObject = newObject; } ///class, /// with the specified object defined as the default new object. /// /// Gets or sets the new object that will be added to the list. /// public object NewObject { get { return newObject; } set { newObject = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlnsPrefixAttribute.cs
- GenericTypeParameterBuilder.cs
- SiteMapDataSourceView.cs
- ExceptionHandlers.cs
- dataobject.cs
- NominalTypeEliminator.cs
- ConnectionStringSettings.cs
- DiagnosticsConfiguration.cs
- NullableIntSumAggregationOperator.cs
- ListViewInsertionMark.cs
- DynamicFilter.cs
- IPGlobalProperties.cs
- ParenthesizePropertyNameAttribute.cs
- ObjectViewEntityCollectionData.cs
- DtrList.cs
- TraceData.cs
- RegexGroup.cs
- SecurityTokenResolver.cs
- XmlILAnnotation.cs
- XAMLParseException.cs
- ExpandButtonVisibilityConverter.cs
- Size3DValueSerializer.cs
- DbMetaDataCollectionNames.cs
- ReachIDocumentPaginatorSerializer.cs
- XmlIlVisitor.cs
- TableItemStyle.cs
- CacheEntry.cs
- GetPageNumberCompletedEventArgs.cs
- MatrixTransform.cs
- ISFTagAndGuidCache.cs
- RoleManagerEventArgs.cs
- WebEncodingValidator.cs
- OracleDateTime.cs
- TextLineBreak.cs
- DataSourceView.cs
- WindowVisualStateTracker.cs
- TransferMode.cs
- XamlDesignerSerializationManager.cs
- BuilderPropertyEntry.cs
- OdbcConnectionString.cs
- LoadedOrUnloadedOperation.cs
- HttpAsyncResult.cs
- TextDecorationUnitValidation.cs
- XmlILTrace.cs
- PreProcessInputEventArgs.cs
- InheritanceContextChangedEventManager.cs
- AccessText.cs
- ValidationHelper.cs
- Image.cs
- AsyncOperationManager.cs
- RequestQueue.cs
- CultureTable.cs
- xml.cs
- StorageInfo.cs
- JoinCqlBlock.cs
- AppliedDeviceFiltersEditor.cs
- SqlRemoveConstantOrderBy.cs
- DropShadowEffect.cs
- SqlDataSourceView.cs
- IODescriptionAttribute.cs
- ContentElement.cs
- CollectionCodeDomSerializer.cs
- SystemResources.cs
- EntityFunctions.cs
- XsdDateTime.cs
- OutKeywords.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ExtractCollection.cs
- CancellationTokenRegistration.cs
- WorkItem.cs
- EntityDataSourceEntityTypeFilterItem.cs
- DeferredRunTextReference.cs
- GregorianCalendarHelper.cs
- DataGridHeaderBorder.cs
- SecurityHeaderElementInferenceEngine.cs
- _TransmitFileOverlappedAsyncResult.cs
- CacheOutputQuery.cs
- StrongNameIdentityPermission.cs
- DataGridViewDataConnection.cs
- cookiecollection.cs
- FrugalMap.cs
- EventMappingSettingsCollection.cs
- EntityModelBuildProvider.cs
- OracleParameterBinding.cs
- AutoGeneratedField.cs
- BufferModeSettings.cs
- XamlStyleSerializer.cs
- DateBoldEvent.cs
- FontFamilyValueSerializer.cs
- DeadCharTextComposition.cs
- PointIndependentAnimationStorage.cs
- ResizeGrip.cs
- COM2FontConverter.cs
- UnknownBitmapDecoder.cs
- EntitySetBase.cs
- _IPv6Address.cs
- StubHelpers.cs
- DataServiceStreamProviderWrapper.cs
- CqlBlock.cs
- TripleDES.cs