Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MultipleViewPattern.cs
- UnsafeCollabNativeMethods.cs
- RealProxy.cs
- ActivationServices.cs
- NameSpaceExtractor.cs
- HttpCacheVaryByContentEncodings.cs
- EntityConnectionStringBuilder.cs
- ExclusiveCanonicalizationTransform.cs
- ShapeTypeface.cs
- WebPartTracker.cs
- DebuggerAttributes.cs
- ThreadInterruptedException.cs
- RuleSettings.cs
- VectorAnimation.cs
- PrivacyNoticeElement.cs
- FileDataSourceCache.cs
- CommandValueSerializer.cs
- UTF7Encoding.cs
- XmlChoiceIdentifierAttribute.cs
- LostFocusEventManager.cs
- PocoEntityKeyStrategy.cs
- SyntaxCheck.cs
- StateItem.cs
- SocketPermission.cs
- WriteableOnDemandPackagePart.cs
- ConstraintEnumerator.cs
- TypeValidationEventArgs.cs
- LineBreakRecord.cs
- Repeater.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- InvalidProgramException.cs
- CombinedGeometry.cs
- RenderTargetBitmap.cs
- dataprotectionpermission.cs
- AppearanceEditorPart.cs
- DescendantQuery.cs
- ResourceReader.cs
- DoubleConverter.cs
- EventLogReader.cs
- StatusBarPanelClickEvent.cs
- JulianCalendar.cs
- OraclePermissionAttribute.cs
- ComboBoxDesigner.cs
- BrowserCapabilitiesCodeGenerator.cs
- XPathNavigator.cs
- AttachmentCollection.cs
- RadioButtonRenderer.cs
- QilXmlReader.cs
- NetworkInformationPermission.cs
- DynamicHyperLink.cs
- HiddenFieldPageStatePersister.cs
- BasicViewGenerator.cs
- UiaCoreProviderApi.cs
- IntegerValidator.cs
- ImportCatalogPart.cs
- PrintSystemException.cs
- CollectionViewGroup.cs
- DataPagerFieldCommandEventArgs.cs
- InkCanvas.cs
- WorkflowTransactionService.cs
- SegmentInfo.cs
- XmlParserContext.cs
- RectAnimationBase.cs
- figurelength.cs
- Trustee.cs
- TextBoxView.cs
- ForeignKeyConstraint.cs
- RtfToXamlLexer.cs
- DecimalAnimation.cs
- DesignConnection.cs
- PropertyManager.cs
- TreeNodeMouseHoverEvent.cs
- NonBatchDirectoryCompiler.cs
- XPathNodeList.cs
- NamespaceDecl.cs
- ClientFormsIdentity.cs
- Section.cs
- AppSettingsExpressionBuilder.cs
- RowToParametersTransformer.cs
- ControlBindingsConverter.cs
- FragmentQuery.cs
- ChildTable.cs
- TypeNameConverter.cs
- CopyAttributesAction.cs
- DbMetaDataCollectionNames.cs
- ModelVisual3D.cs
- KerberosTicketHashIdentifierClause.cs
- OdbcConnectionHandle.cs
- GenericEnumerator.cs
- ThemeDirectoryCompiler.cs
- MimeFormReflector.cs
- HttpWrapper.cs
- KeyInstance.cs
- InvokeDelegate.cs
- ReachBasicContext.cs
- SymmetricSecurityProtocolFactory.cs
- ReliabilityContractAttribute.cs
- DesignerActionTextItem.cs
- StoreUtilities.cs
- GenericRootAutomationPeer.cs