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
- StateElementCollection.cs
- EditorZoneBase.cs
- XmlSchemaSimpleContentRestriction.cs
- FileLoadException.cs
- HierarchicalDataSourceConverter.cs
- FixedSOMTextRun.cs
- NavigationPropertyEmitter.cs
- RPIdentityRequirement.cs
- RootBrowserWindow.cs
- AggregateNode.cs
- HybridObjectCache.cs
- BindingBase.cs
- LayoutSettings.cs
- PageContentAsyncResult.cs
- ObjectListCommandEventArgs.cs
- DirectoryObjectSecurity.cs
- XPathNavigatorKeyComparer.cs
- TextSpan.cs
- ExcludePathInfo.cs
- Tile.cs
- XmlParserContext.cs
- ItemChangedEventArgs.cs
- SqlDataSourceCustomCommandEditor.cs
- XmlSchemaGroupRef.cs
- XmlElementList.cs
- RemoteWebConfigurationHostStream.cs
- XNodeNavigator.cs
- Events.cs
- ContentPresenter.cs
- RulePatternOps.cs
- CompareValidator.cs
- FastPropertyAccessor.cs
- DbConnectionOptions.cs
- IndexExpression.cs
- StrongNameKeyPair.cs
- CompilerCollection.cs
- EdmComplexPropertyAttribute.cs
- AndCondition.cs
- PropertyInfo.cs
- ResXResourceSet.cs
- Point3DCollectionConverter.cs
- XhtmlConformanceSection.cs
- AppDomainFactory.cs
- BlurBitmapEffect.cs
- _HelperAsyncResults.cs
- Action.cs
- SortQuery.cs
- GroupBox.cs
- AvTraceDetails.cs
- _DomainName.cs
- SqlDataSourceSelectingEventArgs.cs
- LayoutInformation.cs
- CompensationExtension.cs
- RijndaelManagedTransform.cs
- ChannelManagerService.cs
- InkCanvas.cs
- SmtpSection.cs
- ToolbarAUtomationPeer.cs
- DefaultPropertiesToSend.cs
- SiteMapNodeItemEventArgs.cs
- ContainerUIElement3D.cs
- Utilities.cs
- AdCreatedEventArgs.cs
- PagedDataSource.cs
- LinqDataSourceStatusEventArgs.cs
- FileUtil.cs
- SettingsPropertyValueCollection.cs
- WriteTimeStream.cs
- LocationUpdates.cs
- HwndHost.cs
- ProbeMatchesCD1.cs
- HybridDictionary.cs
- CryptoApi.cs
- EnumBuilder.cs
- EntitySetBase.cs
- ProcessHostFactoryHelper.cs
- Event.cs
- cryptoapiTransform.cs
- ReliableReplySessionChannel.cs
- SQLString.cs
- StylusShape.cs
- WebPartHelpVerb.cs
- TrustExchangeException.cs
- DataGridViewColumnEventArgs.cs
- RectIndependentAnimationStorage.cs
- SystemMulticastIPAddressInformation.cs
- FigureHelper.cs
- SoapCodeExporter.cs
- WebPartConnectionsCloseVerb.cs
- PathStreamGeometryContext.cs
- XmlException.cs
- DataTableNewRowEvent.cs
- XPathChildIterator.cs
- odbcmetadatacolumnnames.cs
- GPRECT.cs
- DetailsViewCommandEventArgs.cs
- BindingExpressionBase.cs
- DbConnectionInternal.cs
- WebHostUnsafeNativeMethods.cs
- LexicalChunk.cs