Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewDeleteEventArgs.cs / 1 / DetailsViewDeleteEventArgs.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 DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a keyed list to populate with old 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 DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a keyed list to populate with old row values. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OptionUsage.cs
- StyleXamlParser.cs
- BitConverter.cs
- CountAggregationOperator.cs
- ISO2022Encoding.cs
- CounterCreationDataCollection.cs
- ComponentRenameEvent.cs
- TextAdaptor.cs
- XmlAnyElementAttributes.cs
- SqlMetaData.cs
- LazyTextWriterCreator.cs
- SecurityResources.cs
- FixedHyperLink.cs
- SuppressIldasmAttribute.cs
- RegisteredHiddenField.cs
- UpdateCommand.cs
- HMACMD5.cs
- ContextMenu.cs
- ComponentChangingEvent.cs
- DeploymentSectionCache.cs
- SecurityTokenProvider.cs
- LexicalChunk.cs
- OdbcConnectionFactory.cs
- PropertyDescriptorCollection.cs
- TextEditorParagraphs.cs
- DbReferenceCollection.cs
- BindStream.cs
- OracleRowUpdatedEventArgs.cs
- LiteralTextContainerControlBuilder.cs
- TriState.cs
- Int16.cs
- FileDialog.cs
- AnimationStorage.cs
- ExtenderHelpers.cs
- DbMetaDataColumnNames.cs
- WebCodeGenerator.cs
- DrawToolTipEventArgs.cs
- OutputCacheModule.cs
- DWriteFactory.cs
- HttpConfigurationContext.cs
- CLSCompliantAttribute.cs
- IIS7UserPrincipal.cs
- HttpsChannelFactory.cs
- SwitchLevelAttribute.cs
- SQLRoleProvider.cs
- WorkflowApplicationCompletedException.cs
- ConnectionPoint.cs
- CompModSwitches.cs
- ContainerAction.cs
- BaseValidator.cs
- TextWriterTraceListener.cs
- MailWebEventProvider.cs
- CodeEventReferenceExpression.cs
- ProtocolsSection.cs
- CompileLiteralTextParser.cs
- SymmetricKeyWrap.cs
- TextParagraphCache.cs
- CompoundFileDeflateTransform.cs
- RunInstallerAttribute.cs
- Exceptions.cs
- ObjectSecurityT.cs
- regiisutil.cs
- FirstQueryOperator.cs
- WindowsAuthenticationModule.cs
- TimeSpanMinutesConverter.cs
- DiagnosticsConfigurationHandler.cs
- NativeMethods.cs
- DebugViewWriter.cs
- XmlChildEnumerator.cs
- CodeTypeDeclaration.cs
- BuildProvider.cs
- ClientConfigurationSystem.cs
- AsyncMethodInvoker.cs
- BasicExpressionVisitor.cs
- DataGridCommandEventArgs.cs
- DesignerVerbCollection.cs
- DataGridItem.cs
- EntitySqlQueryState.cs
- ColorBuilder.cs
- GlyphingCache.cs
- StaticFileHandler.cs
- StrongBox.cs
- HtmlContainerControl.cs
- MessagingDescriptionAttribute.cs
- ListItemCollection.cs
- RtfNavigator.cs
- XmlIncludeAttribute.cs
- CompatibleComparer.cs
- EncoderExceptionFallback.cs
- Msmq4PoisonHandler.cs
- RegexStringValidator.cs
- WsdlBuildProvider.cs
- RootContext.cs
- GroupAggregateExpr.cs
- WindowsStartMenu.cs
- DynamicVirtualDiscoSearcher.cs
- HandleExceptionArgs.cs
- DecoderNLS.cs
- ResXResourceReader.cs
- CommandValueSerializer.cs