Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TextCompositionManager.cs
- AnimationClock.cs
- ObjectPropertyMapping.cs
- RoutedEvent.cs
- Fault.cs
- ObjectViewQueryResultData.cs
- DecoderBestFitFallback.cs
- NavigationPropertyEmitter.cs
- EditingCommands.cs
- CheckBoxBaseAdapter.cs
- PageCatalogPart.cs
- ReflectionUtil.cs
- precedingsibling.cs
- WindowsListViewItem.cs
- MobileListItemCollection.cs
- Events.cs
- RuntimeConfigurationRecord.cs
- HtmlValidatorAdapter.cs
- SplayTreeNode.cs
- ApplicationInterop.cs
- CSharpCodeProvider.cs
- XPathExpr.cs
- XNameConverter.cs
- WebPartTransformer.cs
- ScaleTransform3D.cs
- ClientRoleProvider.cs
- Char.cs
- Util.cs
- VariantWrapper.cs
- SecurityNegotiationException.cs
- Int32.cs
- WindowsListViewGroupSubsetLink.cs
- IndexerNameAttribute.cs
- DispatcherOperation.cs
- ErrorFormatterPage.cs
- TreeNodeStyleCollection.cs
- MetafileHeaderWmf.cs
- MethodSet.cs
- XmlSortKey.cs
- XsltContext.cs
- KeyFrames.cs
- GAC.cs
- RecommendedAsConfigurableAttribute.cs
- HtmlInputFile.cs
- SuppressIldasmAttribute.cs
- TypeSemantics.cs
- Misc.cs
- DataKeyCollection.cs
- ZoomPercentageConverter.cs
- AutomationPropertyInfo.cs
- Sql8ConformanceChecker.cs
- TextBox.cs
- CodeTypeDelegate.cs
- PrePrepareMethodAttribute.cs
- LocalBuilder.cs
- PolyLineSegment.cs
- ConfigXmlText.cs
- ActivityCodeDomReferenceService.cs
- CoreChannel.cs
- Relationship.cs
- StandardToolWindows.cs
- ellipse.cs
- Rectangle.cs
- Vector.cs
- DbMetaDataColumnNames.cs
- Odbc32.cs
- EnvelopedPkcs7.cs
- ConsoleKeyInfo.cs
- RawStylusInput.cs
- IsolatedStorageSecurityState.cs
- SettingsProviderCollection.cs
- SHA1Managed.cs
- TypeExtensionConverter.cs
- ModifiableIteratorCollection.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- XmlSchemaFacet.cs
- InstanceKey.cs
- CodeTypeOfExpression.cs
- InputScope.cs
- Stacktrace.cs
- ScriptingProfileServiceSection.cs
- SHA1Managed.cs
- GenericsNotImplementedException.cs
- TypeDescriptionProviderAttribute.cs
- PnrpPermission.cs
- Math.cs
- Base64Encoder.cs
- CqlParser.cs
- NameValuePair.cs
- CodeBlockBuilder.cs
- ExceptionValidationRule.cs
- TextServicesLoader.cs
- Decoder.cs
- ConnectivityStatus.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- ProviderBase.cs
- TypeUnloadedException.cs
- x509store.cs
- StateWorkerRequest.cs
- RegisteredDisposeScript.cs