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
- HorizontalAlignConverter.cs
- PasswordRecovery.cs
- ProjectionCamera.cs
- Logging.cs
- FormParameter.cs
- EditorResources.cs
- MapPathBasedVirtualPathProvider.cs
- ListViewSelectEventArgs.cs
- WmpBitmapEncoder.cs
- HtmlTableRow.cs
- WebServiceHandlerFactory.cs
- SqlLiftIndependentRowExpressions.cs
- ContainerControlDesigner.cs
- ExpressionNode.cs
- Style.cs
- FtpWebRequest.cs
- Ops.cs
- _LazyAsyncResult.cs
- GenerateTemporaryAssemblyTask.cs
- EditorPartCollection.cs
- TypeDescriptorFilterService.cs
- Int32CAMarshaler.cs
- PathGeometry.cs
- SqlAggregateChecker.cs
- DllNotFoundException.cs
- AppDomainFactory.cs
- XmlText.cs
- WorkItem.cs
- HandlerBase.cs
- XomlCompiler.cs
- MethodExpr.cs
- GridViewRowCollection.cs
- PrintDialogException.cs
- XmlException.cs
- ControlPaint.cs
- ReliabilityContractAttribute.cs
- DependencyPropertyKind.cs
- NamespaceInfo.cs
- WindowsListView.cs
- BackoffTimeoutHelper.cs
- SettingsPropertyWrongTypeException.cs
- CacheEntry.cs
- ValidatingReaderNodeData.cs
- BamlTreeNode.cs
- JournalEntry.cs
- SynchronizationContextHelper.cs
- DataGridViewAutoSizeModeEventArgs.cs
- KeyValuePair.cs
- PreviewKeyDownEventArgs.cs
- Serializer.cs
- LifetimeServices.cs
- ModelPerspective.cs
- DateTimeParse.cs
- GlobalizationSection.cs
- Semaphore.cs
- RequiredAttributeAttribute.cs
- OleDbEnumerator.cs
- BooleanConverter.cs
- BindingWorker.cs
- ComplexObject.cs
- PDBReader.cs
- ListViewItemCollectionEditor.cs
- DataGridColumnsPage.cs
- ColorConvertedBitmapExtension.cs
- PathNode.cs
- DataGridViewLayoutData.cs
- ObjectAssociationEndMapping.cs
- ShaderRenderModeValidation.cs
- SmiRequestExecutor.cs
- XmlILIndex.cs
- XmlComment.cs
- MatrixConverter.cs
- EDesignUtil.cs
- versioninfo.cs
- ColorTransform.cs
- StylusPointProperties.cs
- WebServicesInteroperability.cs
- DataListItem.cs
- WebRequestModulesSection.cs
- RepeatButton.cs
- TreeViewCancelEvent.cs
- DataProtection.cs
- EventSinkHelperWriter.cs
- ToolStripDropDownButton.cs
- cookie.cs
- FontFamilyValueSerializer.cs
- Math.cs
- ApplicationSettingsBase.cs
- ConnectionAcceptor.cs
- Visual3D.cs
- DataTemplateKey.cs
- PolyLineSegmentFigureLogic.cs
- XmlHierarchicalEnumerable.cs
- ConnectionPoolManager.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextTabProperties.cs
- Wildcard.cs
- HtmlFormWrapper.cs
- DataGridViewSelectedCellCollection.cs
- DragDeltaEventArgs.cs