Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewDeletedEventArgs.cs / 1 / ListViewDeletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ListenerElementsCollection.cs
- TabItemAutomationPeer.cs
- ConfigurationLocationCollection.cs
- HandledMouseEvent.cs
- IDispatchConstantAttribute.cs
- SqlBuilder.cs
- JsonGlobals.cs
- SecurityPermission.cs
- TreeBuilder.cs
- UpdateManifestForBrowserApplication.cs
- InstanceContextManager.cs
- SectionVisual.cs
- MsmqIntegrationProcessProtocolHandler.cs
- WebPermission.cs
- CssTextWriter.cs
- ExtendLockAsyncResult.cs
- XamlReader.cs
- ApplicationServiceHelper.cs
- ContentControl.cs
- Vars.cs
- FormViewPagerRow.cs
- DataGridViewCellValueEventArgs.cs
- TerminatorSinks.cs
- RijndaelManagedTransform.cs
- TerminatorSinks.cs
- CodeTypeReferenceExpression.cs
- UnitySerializationHolder.cs
- LinkArea.cs
- ToolStripCustomTypeDescriptor.cs
- Pair.cs
- sqlmetadatafactory.cs
- SchemaElementDecl.cs
- RootBrowserWindowAutomationPeer.cs
- CFGGrammar.cs
- DbParameterHelper.cs
- MasterPageBuildProvider.cs
- DataControlFieldHeaderCell.cs
- PrintPreviewGraphics.cs
- CompilerError.cs
- WebUtil.cs
- StringAttributeCollection.cs
- CacheDependency.cs
- XmlElementCollection.cs
- HwndProxyElementProvider.cs
- DesignerActionHeaderItem.cs
- Transactions.cs
- ToolConsole.cs
- XmlNavigatorFilter.cs
- PackWebRequest.cs
- BlockCollection.cs
- SoapExtensionImporter.cs
- SmiConnection.cs
- ProvideValueServiceProvider.cs
- FieldToken.cs
- NegotiationTokenAuthenticator.cs
- ResourceCategoryAttribute.cs
- ControlBindingsCollection.cs
- DataRowView.cs
- Attributes.cs
- MessagePropertyFilter.cs
- DetailsViewUpdatedEventArgs.cs
- MetadataItemSerializer.cs
- TextBox.cs
- ToolboxItemCollection.cs
- Tuple.cs
- SevenBitStream.cs
- WebPartCancelEventArgs.cs
- BevelBitmapEffect.cs
- SymbolMethod.cs
- KeyValuePair.cs
- ModelProperty.cs
- TableLayoutPanel.cs
- QueryReaderSettings.cs
- CipherData.cs
- InvokePattern.cs
- AsyncResult.cs
- HostAdapter.cs
- WindowsStatic.cs
- ValueSerializer.cs
- TextTreeObjectNode.cs
- LineServicesCallbacks.cs
- CreateUserWizardStep.cs
- ComplusEndpointConfigContainer.cs
- BaseDataList.cs
- FixedFindEngine.cs
- Polygon.cs
- TrustManagerMoreInformation.cs
- DeviceFilterEditorDialog.cs
- Screen.cs
- SchemaNotation.cs
- Mapping.cs
- DbConvert.cs
- XPathNode.cs
- SqlAggregateChecker.cs
- Encoder.cs
- CommandHelpers.cs
- PopOutPanel.cs
- XmlDataSourceDesigner.cs
- TextServicesCompartment.cs
- RichTextBoxAutomationPeer.cs