Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / ListViewDeletedEventArgs.cs / 1305376 / ListViewDeletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { public class ListViewDeletedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private IOrderedDictionary _keys; private IOrderedDictionary _values; public ListViewDeletedEventArgs(int affectedRows, Exception exception) { _affectedRows = affectedRows; _exceptionHandled = false; _exception = exception; } ////// public int AffectedRows { get { return _affectedRows; } } ///Gets the source of the command. This property is read-only. ////// public Exception Exception { get { return _exception; } } ///Gets the exception (if any) that occurred during the operation. This property is read-only. ////// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } ///Gets a flag telling whether the exception was handled. ////// 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; } } internal void SetKeys(IOrderedDictionary keys) { _keys = keys; } internal void SetValues(IOrderedDictionary values) { _values = 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. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { public class ListViewDeletedEventArgs : EventArgs { private int _affectedRows; private Exception _exception; private bool _exceptionHandled; private IOrderedDictionary _keys; private IOrderedDictionary _values; public ListViewDeletedEventArgs(int affectedRows, Exception exception) { _affectedRows = affectedRows; _exceptionHandled = false; _exception = exception; } ////// public int AffectedRows { get { return _affectedRows; } } ///Gets the source of the command. This property is read-only. ////// public Exception Exception { get { return _exception; } } ///Gets the exception (if any) that occurred during the operation. This property is read-only. ////// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } ///Gets a flag telling whether the exception was handled. ////// 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; } } internal void SetKeys(IOrderedDictionary keys) { _keys = keys; } internal void SetValues(IOrderedDictionary values) { _values = 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
- MenuEventArgs.cs
- _ListenerResponseStream.cs
- NewItemsContextMenuStrip.cs
- UrlMappingCollection.cs
- SQLByte.cs
- ValidationEventArgs.cs
- WebBrowser.cs
- XPathAncestorIterator.cs
- Parameter.cs
- ClientRoleProvider.cs
- RegexMatch.cs
- AppDomainEvidenceFactory.cs
- CharacterMetricsDictionary.cs
- EdgeProfileValidation.cs
- ResXBuildProvider.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- Int64AnimationBase.cs
- QilCloneVisitor.cs
- XPathDocument.cs
- ValidationSummary.cs
- TypeLibConverter.cs
- HtmlAnchor.cs
- XmlSchemaExternal.cs
- WorkflowOperationContext.cs
- DataRecordInternal.cs
- ToolStripTemplateNode.cs
- DefaultPropertyAttribute.cs
- FileClassifier.cs
- CodeEventReferenceExpression.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- ModuleBuilder.cs
- ActivityDesignerHelper.cs
- BindUriHelper.cs
- BitmapCodecInfoInternal.cs
- UriParserTemplates.cs
- SqlStatistics.cs
- assertwrapper.cs
- BasicHttpSecurity.cs
- CacheChildrenQuery.cs
- DateTimeFormatInfo.cs
- BaseProcessProtocolHandler.cs
- SslStreamSecurityElement.cs
- TextElementCollectionHelper.cs
- ToolStripItemImageRenderEventArgs.cs
- NullableIntSumAggregationOperator.cs
- SafeFileMappingHandle.cs
- SqlNodeTypeOperators.cs
- VirtualDirectoryMappingCollection.cs
- WinEventWrap.cs
- CompressedStack.cs
- Module.cs
- ListBoxItemWrapperAutomationPeer.cs
- TimeSpanMinutesConverter.cs
- SqlStatistics.cs
- WinFormsComponentEditor.cs
- QuaternionAnimationUsingKeyFrames.cs
- DataStreamFromComStream.cs
- StandardToolWindows.cs
- XmlReflectionImporter.cs
- RemotingAttributes.cs
- StylusEventArgs.cs
- SqlDependency.cs
- DataGridLength.cs
- IconBitmapDecoder.cs
- JsonUriDataContract.cs
- ParallelQuery.cs
- InvalidCommandTreeException.cs
- Directory.cs
- UnionExpr.cs
- TextSearch.cs
- ConstantCheck.cs
- AssemblyHelper.cs
- EntityConnection.cs
- NamedPermissionSet.cs
- ScriptDescriptor.cs
- TextBoxAutomationPeer.cs
- RefreshEventArgs.cs
- LineProperties.cs
- MemberRelationshipService.cs
- Debug.cs
- LoadedEvent.cs
- ColumnResizeAdorner.cs
- DiscoveryService.cs
- ColumnMapTranslator.cs
- OnOperation.cs
- DrawingBrush.cs
- StringOutput.cs
- SplitContainer.cs
- SerializerProvider.cs
- DesignerActionUI.cs
- XmlSchemaSet.cs
- RoutedEventValueSerializer.cs
- DataProtection.cs
- PerformanceCounterCategory.cs
- DtdParser.cs
- HtmlButton.cs
- HttpProfileBase.cs
- DefaultShape.cs
- OdbcCommandBuilder.cs
- InkCanvasSelectionAdorner.cs