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
- AsyncCompletedEventArgs.cs
- OdbcConnectionString.cs
- SystemParameters.cs
- SchemaSetCompiler.cs
- SafeHandles.cs
- PathGradientBrush.cs
- PrintController.cs
- Effect.cs
- MultitargetingHelpers.cs
- ReflectionUtil.cs
- OleCmdHelper.cs
- Propagator.cs
- PrinterUnitConvert.cs
- BufferModeSettings.cs
- FormCollection.cs
- IProvider.cs
- DataBoundLiteralControl.cs
- Trigger.cs
- ParameterDataSourceExpression.cs
- EntitySqlException.cs
- ZeroOpNode.cs
- SignedXml.cs
- XamlHostingSection.cs
- FileSystemWatcher.cs
- ResetableIterator.cs
- CodePageEncoding.cs
- OutputCacheProfileCollection.cs
- TrackingProfileCache.cs
- TraceData.cs
- HttpWebResponse.cs
- DocumentNUp.cs
- XPathBuilder.cs
- DefaultProxySection.cs
- PropertyContainer.cs
- DiagnosticTraceSchemas.cs
- TextTreeTextElementNode.cs
- TreeView.cs
- CodeNamespaceCollection.cs
- ColorAnimation.cs
- NullEntityWrapper.cs
- Debug.cs
- MembershipValidatePasswordEventArgs.cs
- PasswordTextNavigator.cs
- SQLGuidStorage.cs
- MetadataSerializer.cs
- StateChangeEvent.cs
- fixedPageContentExtractor.cs
- PropertyItem.cs
- ResourceAssociationType.cs
- _AuthenticationState.cs
- AnnotationAuthorChangedEventArgs.cs
- MailSettingsSection.cs
- MetaData.cs
- ScriptModule.cs
- ModuleConfigurationInfo.cs
- handlecollector.cs
- SymDocumentType.cs
- HttpListenerContext.cs
- StrongName.cs
- Point3DCollectionValueSerializer.cs
- SemanticBasicElement.cs
- UserUseLicenseDictionaryLoader.cs
- StylusPlugin.cs
- AdPostCacheSubstitution.cs
- XmlNodeList.cs
- InvokePatternIdentifiers.cs
- PeerNameRecord.cs
- TextTreeFixupNode.cs
- BaseCodeDomTreeGenerator.cs
- RawStylusInputCustomData.cs
- TypedServiceOperationListItem.cs
- InkCanvas.cs
- WorkflowInstanceRecord.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- BindingsSection.cs
- SqlRowUpdatedEvent.cs
- sqlser.cs
- XmlArrayAttribute.cs
- ProcessHostFactoryHelper.cs
- ProfileSection.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- ExpressionVisitor.cs
- CodeMethodReturnStatement.cs
- BooleanConverter.cs
- UnicastIPAddressInformationCollection.cs
- CroppedBitmap.cs
- XmlSortKeyAccumulator.cs
- SQlBooleanStorage.cs
- RemoteHelper.cs
- RealizationContext.cs
- StorageScalarPropertyMapping.cs
- DataGridTextBox.cs
- cache.cs
- IPEndPoint.cs
- GeneralTransform.cs
- ApplyImportsAction.cs
- CompressEmulationStream.cs
- ApplicationCommands.cs
- ColorKeyFrameCollection.cs
- FrameworkElementAutomationPeer.cs