Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Data / System / Data / DataColumnChangeEvent.cs / 1 / DataColumnChangeEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data { using System; ////// #if WINFSInternalOnly internal #else public #endif 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; ////// #if WINFSInternalOnly internal #else public #endif 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
- SettingsBindableAttribute.cs
- sqlnorm.cs
- ToolStripTemplateNode.cs
- LinearGradientBrush.cs
- DragCompletedEventArgs.cs
- Exceptions.cs
- ParallelTimeline.cs
- ColumnClickEvent.cs
- RectIndependentAnimationStorage.cs
- GridViewRowPresenter.cs
- Sentence.cs
- FormsAuthenticationConfiguration.cs
- TableProviderWrapper.cs
- ScrollChangedEventArgs.cs
- BitmapEffectGeneralTransform.cs
- ConnectionPointCookie.cs
- ScriptingScriptResourceHandlerSection.cs
- HandledMouseEvent.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- bidPrivateBase.cs
- WebResourceAttribute.cs
- TextBox.cs
- HttpProtocolReflector.cs
- DataGridViewBindingCompleteEventArgs.cs
- ThumbAutomationPeer.cs
- ResourceProperty.cs
- IntSecurity.cs
- WebPartEditorOkVerb.cs
- QualificationDataItem.cs
- ItemCheckEvent.cs
- StorageScalarPropertyMapping.cs
- PeerHelpers.cs
- CodeCommentStatementCollection.cs
- DBCSCodePageEncoding.cs
- RsaKeyIdentifierClause.cs
- MenuItemStyle.cs
- ExpandCollapseProviderWrapper.cs
- TextBox.cs
- CodeObjectCreateExpression.cs
- ToolTipService.cs
- SystemIPGlobalStatistics.cs
- XPathCompileException.cs
- BinaryMessageFormatter.cs
- OperatorExpressions.cs
- CultureTable.cs
- BindingSource.cs
- DataService.cs
- XPathDescendantIterator.cs
- HtmlProps.cs
- DragEventArgs.cs
- SqlNode.cs
- AssertSection.cs
- Win32Exception.cs
- EmbeddedObject.cs
- ThemeableAttribute.cs
- BaseCollection.cs
- HttpListenerPrefixCollection.cs
- TextLineResult.cs
- UTF8Encoding.cs
- CodeGen.cs
- SoapAttributeOverrides.cs
- LayeredChannelFactory.cs
- MediaCommands.cs
- InertiaTranslationBehavior.cs
- BindingExpressionUncommonField.cs
- RuntimeConfigLKG.cs
- FixedSOMTextRun.cs
- UniqueIdentifierService.cs
- ADMembershipProvider.cs
- SqlSelectStatement.cs
- ClearTypeHintValidation.cs
- ScriptControlDescriptor.cs
- TcpActivation.cs
- UndoManager.cs
- XPathSingletonIterator.cs
- PrefixQName.cs
- HandlerBase.cs
- SecurityProtocolFactory.cs
- BaseHashHelper.cs
- StreamInfo.cs
- QueryStringConverter.cs
- StringPropertyBuilder.cs
- ContractDescription.cs
- x509store.cs
- MailAddress.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- UpDownBase.cs
- ConfigurationElement.cs
- BitSet.cs
- ChangeProcessor.cs
- TableLayoutSettings.cs
- FragmentNavigationEventArgs.cs
- SQLInt16Storage.cs
- SharedStatics.cs
- NotSupportedException.cs
- DesignerActionPanel.cs
- XmlUrlEditor.cs
- GB18030Encoding.cs
- FacetChecker.cs
- QilUnary.cs