Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / StateItem.cs / 1 / StateItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Security.Permissions; /* * The StateItem class * by the StateBag class. * The StateItem has an object value, a dirty flag. */ ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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; } } } }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
- GuidelineCollection.cs
- DataMemberFieldConverter.cs
- WebPartConnectionCollection.cs
- ConnectionInterfaceCollection.cs
- AnimationClockResource.cs
- DataReaderContainer.cs
- DataContext.cs
- Content.cs
- CacheModeConverter.cs
- ButtonDesigner.cs
- ColorConverter.cs
- XsdCachingReader.cs
- Visual.cs
- ListBindingHelper.cs
- SocketException.cs
- ActivityWithResultValueSerializer.cs
- ShapeTypeface.cs
- ImageKeyConverter.cs
- ShaderEffect.cs
- DbDataAdapter.cs
- MSAAWinEventWrap.cs
- GroupByQueryOperator.cs
- ConfigurationProviderException.cs
- Trustee.cs
- SelectionChangedEventArgs.cs
- DesignerGenericWebPart.cs
- DataSourceUtil.cs
- login.cs
- TrackingParameters.cs
- InvokeHandlers.cs
- PeerResolver.cs
- LinqDataSourceDisposeEventArgs.cs
- BamlLocalizabilityResolver.cs
- DataServiceClientException.cs
- SerialPort.cs
- WinInetCache.cs
- PolyLineSegment.cs
- ServerType.cs
- XmlCharType.cs
- UnsafeNativeMethodsPenimc.cs
- CancellationState.cs
- TcpConnectionPool.cs
- HostedTcpTransportManager.cs
- TableRow.cs
- MatrixKeyFrameCollection.cs
- SafeViewOfFileHandle.cs
- StringBlob.cs
- InfoCardBaseException.cs
- XmlNavigatorFilter.cs
- BackoffTimeoutHelper.cs
- WebServiceEnumData.cs
- NativeMethodsCLR.cs
- TextTreeUndo.cs
- IImplicitResourceProvider.cs
- xmlfixedPageInfo.cs
- EntityDataReader.cs
- LoadGrammarCompletedEventArgs.cs
- GregorianCalendar.cs
- StorageSetMapping.cs
- SslStream.cs
- ToolStripSettings.cs
- SortedDictionary.cs
- TdsParserStateObject.cs
- MenuItemBindingCollection.cs
- Stream.cs
- Constants.cs
- RelatedPropertyManager.cs
- Assembly.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- _HTTPDateParse.cs
- Wow64ConfigurationLoader.cs
- PrintDialog.cs
- SmtpFailedRecipientsException.cs
- HttpConfigurationContext.cs
- Message.cs
- LayoutDump.cs
- ParserContext.cs
- Ipv6Element.cs
- PKCS1MaskGenerationMethod.cs
- InternalConfigHost.cs
- Annotation.cs
- CTreeGenerator.cs
- HtmlTernaryTree.cs
- WpfXamlLoader.cs
- ToolStripManager.cs
- InputProcessorProfilesLoader.cs
- _HTTPDateParse.cs
- HostProtectionPermission.cs
- FloaterBaseParaClient.cs
- HttpBindingExtension.cs
- TextHidden.cs
- TabPageDesigner.cs
- DeploymentExceptionMapper.cs
- TypedMessageConverter.cs
- InstanceLockedException.cs
- IndentedWriter.cs
- ControlEvent.cs
- PeerToPeerException.cs
- DrawingImage.cs
- Encoding.cs