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
- Collection.cs
- HijriCalendar.cs
- MemoryStream.cs
- DecoderFallback.cs
- TreeViewHitTestInfo.cs
- RegistrySecurity.cs
- ToolConsole.cs
- LoadRetryHandler.cs
- PropVariant.cs
- ByteStream.cs
- IdleTimeoutMonitor.cs
- MeshGeometry3D.cs
- EventDescriptor.cs
- MimeReturn.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- LinqDataSourceDisposeEventArgs.cs
- QuotedPrintableStream.cs
- StrokeNodeData.cs
- PresentationTraceSources.cs
- OpenTypeLayout.cs
- DocComment.cs
- HealthMonitoringSectionHelper.cs
- wgx_sdk_version.cs
- XsltSettings.cs
- IPEndPointCollection.cs
- CodeBlockBuilder.cs
- Environment.cs
- HtmlMeta.cs
- ScheduleChanges.cs
- IDispatchConstantAttribute.cs
- FormatStringEditor.cs
- TraceContextRecord.cs
- CollaborationHelperFunctions.cs
- ToolStripItemCollection.cs
- WebPartConnectionsCancelVerb.cs
- ResizeGrip.cs
- ModelTreeEnumerator.cs
- ActivityStateQuery.cs
- WeakKeyDictionary.cs
- WebPageTraceListener.cs
- RadioButtonPopupAdapter.cs
- MulticastOption.cs
- ShaderEffect.cs
- AttachedPropertyMethodSelector.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XmlToDatasetMap.cs
- AssemblyResourceLoader.cs
- COM2PictureConverter.cs
- WebSysDescriptionAttribute.cs
- TableLayoutSettings.cs
- QilList.cs
- KnownColorTable.cs
- EpmCustomContentDeSerializer.cs
- ConnectorMovedEventArgs.cs
- _IPv6Address.cs
- OleTxTransaction.cs
- TabControl.cs
- TcpAppDomainProtocolHandler.cs
- ArithmeticException.cs
- IdentityManager.cs
- XmlDomTextWriter.cs
- AssociationSetEnd.cs
- XmlSchemaObjectTable.cs
- CompilationUtil.cs
- IdentityNotMappedException.cs
- OdbcParameterCollection.cs
- InvalidComObjectException.cs
- GlobalizationSection.cs
- SqlCommand.cs
- SQLSingle.cs
- XmlAttributes.cs
- InternalPermissions.cs
- AssemblyInfo.cs
- HttpCachePolicyElement.cs
- ParseElementCollection.cs
- _ProxyChain.cs
- WebPartUtil.cs
- XamlValidatingReader.cs
- GC.cs
- SystemDropShadowChrome.cs
- RegexGroupCollection.cs
- UInt64Storage.cs
- HtmlInputPassword.cs
- SchemaManager.cs
- NullableConverter.cs
- ComboBoxRenderer.cs
- ProxyGenerator.cs
- PointCollectionValueSerializer.cs
- XmlSerializableReader.cs
- ObjectCacheSettings.cs
- PolyBezierSegmentFigureLogic.cs
- StorageEntityTypeMapping.cs
- loginstatus.cs
- WinHttpWebProxyFinder.cs
- TransportConfigurationTypeElementCollection.cs
- Logging.cs
- CapabilitiesAssignment.cs
- NoPersistScope.cs
- SharedStatics.cs
- CompilationPass2Task.cs