Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1 / DetailsViewUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewUpdateEventArgs : CancelEventArgs { private object _commandArgument; private OrderedDictionary _values; private OrderedDictionary _keys; private OrderedDictionary _oldValues; ///Provides data for some ///events. /// public DetailsViewUpdateEventArgs(object commandArgument) : base(false) { this._commandArgument = commandArgument; } ///Initializes a new instance of the ////// class. /// public object CommandArgument { get { return _commandArgument; } } ///Gets the argument to the command posted to the ///. This property is read-only. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with updated row values. This property is read-only. ////// public IOrderedDictionary NewValues { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } ///Gets a OrderedDictionary to populate with updated row values. This property is read-only. ////// public IOrderedDictionary OldValues { get { if (_oldValues == null) { _oldValues = new OrderedDictionary(); } return _oldValues; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ForeignKeyConstraint.cs
- MappingItemCollection.cs
- TextElement.cs
- TrackBar.cs
- Point3DCollection.cs
- ToolStripContainerActionList.cs
- PeerTransportListenAddressValidator.cs
- ParamArrayAttribute.cs
- DataException.cs
- AuthenticatingEventArgs.cs
- CheckBoxFlatAdapter.cs
- UrlPath.cs
- DbProviderFactory.cs
- ZipIOLocalFileHeader.cs
- SynchronizedInputProviderWrapper.cs
- DiscoveryClientProtocol.cs
- EventListener.cs
- MimeMultiPart.cs
- ItemContainerPattern.cs
- TrackingServices.cs
- SqlUtils.cs
- ReadOnlyTernaryTree.cs
- InkCanvasSelection.cs
- TextComposition.cs
- XmlEncoding.cs
- VirtualizedItemPattern.cs
- DataGridViewCellMouseEventArgs.cs
- EndpointInfoCollection.cs
- HotSpot.cs
- Encoder.cs
- SurrogateDataContract.cs
- Schema.cs
- COM2TypeInfoProcessor.cs
- XPathSingletonIterator.cs
- WebService.cs
- AbstractDataSvcMapFileLoader.cs
- OracleFactory.cs
- DesignOnlyAttribute.cs
- LinqDataSourceView.cs
- ImportCatalogPart.cs
- HostedAspNetEnvironment.cs
- SerializationObjectManager.cs
- LinkedList.cs
- ProgramNode.cs
- GPPOINTF.cs
- CheckBox.cs
- XmlUTF8TextWriter.cs
- ApplicationDirectoryMembershipCondition.cs
- DataPagerFieldCommandEventArgs.cs
- SiteMembershipCondition.cs
- ProcessModuleCollection.cs
- OleDbConnection.cs
- Compiler.cs
- TdsParser.cs
- ClosableStream.cs
- XmlException.cs
- shaperfactoryquerycacheentry.cs
- ReflectionHelper.cs
- CharacterShapingProperties.cs
- ObjectDataSourceView.cs
- BoundPropertyEntry.cs
- X509LogoTypeExtension.cs
- TcpHostedTransportConfiguration.cs
- EmbeddedObject.cs
- LocalizableResourceBuilder.cs
- BoundPropertyEntry.cs
- WebPartDisplayModeCancelEventArgs.cs
- InteropBitmapSource.cs
- Globals.cs
- EdmConstants.cs
- CharKeyFrameCollection.cs
- Rotation3D.cs
- LineSegment.cs
- ViewStateModeByIdAttribute.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- InheritedPropertyChangedEventArgs.cs
- Subtree.cs
- TextBox.cs
- ValidatingPropertiesEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- VisualStates.cs
- CutCopyPasteHelper.cs
- ParseHttpDate.cs
- MarkupCompiler.cs
- WindowsFormsSynchronizationContext.cs
- QueryConverter.cs
- TypeConverterValueSerializer.cs
- MetadataArtifactLoaderCompositeFile.cs
- PerfCounters.cs
- DataControlReferenceCollection.cs
- DataGridViewColumnEventArgs.cs
- IdentityHolder.cs
- DataGridViewCellEventArgs.cs
- CompensatableTransactionScopeActivityDesigner.cs
- TargetInvocationException.cs
- HandleValueEditor.cs
- MenuCommands.cs
- ChangeTracker.cs
- WhitespaceRuleReader.cs
- StopRoutingHandler.cs