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
- AssemblyBuilder.cs
- DES.cs
- ResourceReferenceExpression.cs
- ProfilePropertyNameValidator.cs
- TextTrailingCharacterEllipsis.cs
- Span.cs
- HtmlLink.cs
- ParserContext.cs
- HostedImpersonationContext.cs
- MgmtResManager.cs
- StaticExtensionConverter.cs
- PhysicalOps.cs
- SafeUserTokenHandle.cs
- CookielessData.cs
- XmlNamespaceManager.cs
- DataBoundLiteralControl.cs
- LinkConverter.cs
- StreamUpdate.cs
- ApplicationBuildProvider.cs
- RadioButtonStandardAdapter.cs
- LinearQuaternionKeyFrame.cs
- ParameterSubsegment.cs
- AuthorizationRule.cs
- StrongNameIdentityPermission.cs
- PermissionSet.cs
- PcmConverter.cs
- ConstraintConverter.cs
- SponsorHelper.cs
- TextServicesCompartment.cs
- TraceContext.cs
- RoleManagerSection.cs
- MexHttpBindingElement.cs
- TableMethodGenerator.cs
- ItemsPanelTemplate.cs
- AppDomainProtocolHandler.cs
- SelectionPattern.cs
- ProxyGenerationError.cs
- QueryCacheEntry.cs
- PointCollection.cs
- PropertiesTab.cs
- DataGridAddNewRow.cs
- PropertyReferenceSerializer.cs
- OrderingInfo.cs
- TreeNodeCollectionEditor.cs
- EntityStoreSchemaFilterEntry.cs
- ManualResetEvent.cs
- SiteMembershipCondition.cs
- TableProvider.cs
- ComponentResourceKey.cs
- figurelengthconverter.cs
- SyndicationFeedFormatter.cs
- WebPartConnectionsConfigureVerb.cs
- DrawingBrush.cs
- BamlTreeMap.cs
- ArgumentElement.cs
- GradientStop.cs
- DataGridViewSelectedCellCollection.cs
- WebPartDisplayModeEventArgs.cs
- DES.cs
- StorageRoot.cs
- ButtonPopupAdapter.cs
- ProxyHwnd.cs
- AttachedAnnotationChangedEventArgs.cs
- DataViewSetting.cs
- GPStream.cs
- Pen.cs
- ExecutedRoutedEventArgs.cs
- TypeInitializationException.cs
- AuthenticationModulesSection.cs
- RelationshipDetailsCollection.cs
- HostingEnvironmentWrapper.cs
- AndCondition.cs
- XmlBaseReader.cs
- ReplyChannelBinder.cs
- InputScopeAttribute.cs
- DataGridViewAccessibleObject.cs
- ConditionBrowserDialog.cs
- CommandBinding.cs
- ActiveXMessageFormatter.cs
- SubpageParagraph.cs
- XmlTextReaderImpl.cs
- FormsIdentity.cs
- ControlCollection.cs
- PackageRelationshipCollection.cs
- FilterableAttribute.cs
- OpenTypeMethods.cs
- PtsHelper.cs
- VerificationAttribute.cs
- FreezableDefaultValueFactory.cs
- GeometryDrawing.cs
- MemberAccessException.cs
- PngBitmapDecoder.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- HGlobalSafeHandle.cs
- UnaryQueryOperator.cs
- ResourceWriter.cs
- CallContext.cs
- URLString.cs
- BreadCrumbTextConverter.cs
- SatelliteContractVersionAttribute.cs