Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / DataColumnChangeEvent.cs / 1305376 / DataColumnChangeEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; ////// public class DataColumnChangeEventArgs : EventArgs { private readonly DataRow _row; private DataColumn _column; private object _proposedValue; internal DataColumnChangeEventArgs(DataRow row) { _row = row; } ////// Provides data for the ///event. /// /// public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value) { _row = row; _column = column; _proposedValue = value; } ////// Initializes a new instance of the ///class. /// /// public DataColumn Column { get { return _column; } } ///Gets the column whose value is changing. ////// public DataRow Row { get { return _row; } } ///Gets the row whose value is changing. ////// public object ProposedValue { get { return _proposedValue; } set { _proposedValue = value; } } internal void InitializeColumnChangeEvent(DataColumn column, object value) { _column = column; _proposedValue = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets or sets the proposed value. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; ////// public class DataColumnChangeEventArgs : EventArgs { private readonly DataRow _row; private DataColumn _column; private object _proposedValue; internal DataColumnChangeEventArgs(DataRow row) { _row = row; } ////// Provides data for the ///event. /// /// public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value) { _row = row; _column = column; _proposedValue = value; } ////// Initializes a new instance of the ///class. /// /// public DataColumn Column { get { return _column; } } ///Gets the column whose value is changing. ////// public DataRow Row { get { return _row; } } ///Gets the row whose value is changing. ////// public object ProposedValue { get { return _proposedValue; } set { _proposedValue = value; } } internal void InitializeColumnChangeEvent(DataColumn column, object value) { _column = column; _proposedValue = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets or sets the proposed value. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Animatable.cs
- SendKeys.cs
- PolicyStatement.cs
- TraceLog.cs
- FormViewDeleteEventArgs.cs
- PermissionAttributes.cs
- IndependentAnimationStorage.cs
- X509ChainElement.cs
- XamlToRtfWriter.cs
- StructuredProperty.cs
- TypeContext.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- RawStylusActions.cs
- SettingsPropertyValueCollection.cs
- OperationResponse.cs
- DelayDesigner.cs
- StructuredTypeInfo.cs
- ScopelessEnumAttribute.cs
- FrameworkElementFactory.cs
- SharedMemory.cs
- path.cs
- ContextInformation.cs
- PersistenceTask.cs
- DynamicQueryableWrapper.cs
- LinqTreeNodeEvaluator.cs
- OpenFileDialog.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- GB18030Encoding.cs
- DesignerActionListCollection.cs
- HttpDictionary.cs
- MappingSource.cs
- ProfileProvider.cs
- ImageMap.cs
- Rijndael.cs
- PageRanges.cs
- CaseStatementProjectedSlot.cs
- DocumentEventArgs.cs
- OleDbStruct.cs
- AttachedPropertyMethodSelector.cs
- TextSchema.cs
- Int64AnimationUsingKeyFrames.cs
- ObjectDataSource.cs
- RawAppCommandInputReport.cs
- RadioButtonRenderer.cs
- basevalidator.cs
- DataGridViewCellCollection.cs
- ListViewGroupCollectionEditor.cs
- BezierSegment.cs
- PreviewKeyDownEventArgs.cs
- PageCatalogPart.cs
- DateTime.cs
- sortedlist.cs
- Barrier.cs
- StdValidatorsAndConverters.cs
- RSACryptoServiceProvider.cs
- SourceSwitch.cs
- ExportOptions.cs
- XmlBinaryWriter.cs
- ViewManager.cs
- EndOfStreamException.cs
- HijriCalendar.cs
- SqlMultiplexer.cs
- StreamSecurityUpgradeProvider.cs
- recordstatefactory.cs
- VirtualDirectoryMappingCollection.cs
- ListChangedEventArgs.cs
- SymbolType.cs
- SqlMethodTransformer.cs
- ValidationRule.cs
- TransformFinalBlockRequest.cs
- ObjectQuery_EntitySqlExtensions.cs
- ScriptingWebServicesSectionGroup.cs
- HwndMouseInputProvider.cs
- WebHttpElement.cs
- SplineQuaternionKeyFrame.cs
- DecoratedNameAttribute.cs
- ReadonlyMessageFilter.cs
- JulianCalendar.cs
- DataObjectMethodAttribute.cs
- TreeNodeSelectionProcessor.cs
- VisualProxy.cs
- ConstraintStruct.cs
- WebServiceBindingAttribute.cs
- CodeAccessPermission.cs
- UserPrincipalNameElement.cs
- RowBinding.cs
- RemotingServices.cs
- RouteUrlExpressionBuilder.cs
- Visual3DCollection.cs
- COM2ICategorizePropertiesHandler.cs
- ParallelActivityDesigner.cs
- SerializationInfo.cs
- FlowNode.cs
- PageContentAsyncResult.cs
- HttpCapabilitiesSectionHandler.cs
- Reference.cs
- CacheChildrenQuery.cs
- DocumentPage.cs
- BuildProvider.cs
- CharacterHit.cs