Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / StateItem.cs / 1305376 / StateItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; /* * The StateItem class * by the StateBag class. * The StateItem has an object value, a dirty flag. */ ////// public sealed class StateItem { private object value; private bool isDirty; /* * Constructs a StateItem with an initial value. */ internal StateItem(object initialValue) { value = initialValue; isDirty = false; } /* * Property to indicate StateItem has been modified. */ ///Represents an item that is saved in the ///class when view state /// information is persisted between Web requests. /// public bool IsDirty { get { return isDirty; } set { isDirty = value; } } /* * Property to access the StateItem value. */ ///Indicates whether the ///object has been modified. /// public object Value { get { return value; } set { this.value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Indicates the value of the item that is stored in the ////// object.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsListViewItemCheckBox.cs
- SecurityState.cs
- ResponseStream.cs
- PrivilegedConfigurationManager.cs
- InkCanvasSelection.cs
- WebBrowsableAttribute.cs
- ServiceModelSecurityTokenRequirement.cs
- ServicePointManager.cs
- ActivityCodeDomReferenceService.cs
- SslStream.cs
- InvokeProviderWrapper.cs
- XMLSyntaxException.cs
- TextDecorationCollectionConverter.cs
- FixedFlowMap.cs
- EntityObject.cs
- ItemDragEvent.cs
- ListViewItemSelectionChangedEvent.cs
- Int16KeyFrameCollection.cs
- DetailsViewPageEventArgs.cs
- AutomationFocusChangedEventArgs.cs
- PlatformNotSupportedException.cs
- WebPartTracker.cs
- ServiceProviders.cs
- CallbackValidatorAttribute.cs
- CellConstantDomain.cs
- DynamicPropertyReader.cs
- AbstractExpressions.cs
- DatatypeImplementation.cs
- DBSchemaRow.cs
- TransformedBitmap.cs
- DataServiceResponse.cs
- DataBinder.cs
- MemoryFailPoint.cs
- StorageMappingItemLoader.cs
- View.cs
- ResourceType.cs
- AlignmentYValidation.cs
- CheckBoxList.cs
- Metafile.cs
- FixedSOMTableRow.cs
- StateItem.cs
- PackageRelationship.cs
- IDQuery.cs
- WebPartMovingEventArgs.cs
- FormViewDeleteEventArgs.cs
- ApplicationSecurityInfo.cs
- UnauthorizedAccessException.cs
- SpecialNameAttribute.cs
- Size3D.cs
- StringFormat.cs
- StorageEntityContainerMapping.cs
- WebScriptEnablingElement.cs
- InvalidCommandTreeException.cs
- recordstatescratchpad.cs
- ContentPresenter.cs
- ArgumentException.cs
- EventRouteFactory.cs
- GenericIdentity.cs
- CommandField.cs
- SessionStateContainer.cs
- SystemBrushes.cs
- ServicePoint.cs
- MsmqTransportSecurityElement.cs
- ArrayTypeMismatchException.cs
- GetIndexBinder.cs
- ResourceWriter.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- GridEntry.cs
- PathSegment.cs
- PenThreadPool.cs
- TypeResolvingOptions.cs
- OutputCacheProfileCollection.cs
- ByteFacetDescriptionElement.cs
- ApplyImportsAction.cs
- PageAsyncTask.cs
- UDPClient.cs
- IssuedTokenServiceElement.cs
- SerialStream.cs
- ServiceOperationListItem.cs
- ToolStripItemRenderEventArgs.cs
- GridProviderWrapper.cs
- IncrementalCompileAnalyzer.cs
- LocationSectionRecord.cs
- SelfIssuedAuthRSACryptoProvider.cs
- HandledMouseEvent.cs
- Utils.cs
- AddingNewEventArgs.cs
- InternalPermissions.cs
- StateMachine.cs
- VerificationAttribute.cs
- AsmxEndpointPickerExtension.cs
- newinstructionaction.cs
- XmlRawWriterWrapper.cs
- InvalidEnumArgumentException.cs
- Model3D.cs
- HtmlContainerControl.cs
- DbProviderServices.cs
- XmlConverter.cs
- SinglePageViewer.cs
- PropertyPathWorker.cs