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
- OdbcHandle.cs
- MethodBuilder.cs
- DeviceContexts.cs
- RemoteCryptoTokenProvider.cs
- WebRequestModuleElementCollection.cs
- ToolBar.cs
- AutomationPropertyInfo.cs
- SystemSounds.cs
- TypeReference.cs
- EntityModelBuildProvider.cs
- DbDataRecord.cs
- SurrogateEncoder.cs
- ParentQuery.cs
- XmlCharCheckingReader.cs
- MessageBuilder.cs
- CollectionViewGroup.cs
- ButtonFieldBase.cs
- isolationinterop.cs
- BitmapDownload.cs
- UriScheme.cs
- XmlSchemaDatatype.cs
- UnsafeNativeMethods.cs
- TreeNodeCollection.cs
- RectIndependentAnimationStorage.cs
- TreeViewImageIndexConverter.cs
- UInt16Storage.cs
- WebScriptEnablingBehavior.cs
- XamlBrushSerializer.cs
- GlyphInfoList.cs
- BinarySerializer.cs
- ControlCodeDomSerializer.cs
- GreaterThanOrEqual.cs
- RSAPKCS1SignatureDeformatter.cs
- PeerTransportListenAddressValidator.cs
- XmlDocumentFieldSchema.cs
- HtmlShim.cs
- DataRelationPropertyDescriptor.cs
- TraceListeners.cs
- LinearKeyFrames.cs
- RecipientIdentity.cs
- ConfigurationElementCollection.cs
- ProfileServiceManager.cs
- DispatcherSynchronizationContext.cs
- LinqDataSourceDeleteEventArgs.cs
- Vector3DKeyFrameCollection.cs
- ControlCollection.cs
- FileDialogPermission.cs
- RectangleConverter.cs
- DoubleLinkListEnumerator.cs
- ScriptControlDescriptor.cs
- QuaternionAnimationUsingKeyFrames.cs
- Rfc2898DeriveBytes.cs
- SplashScreenNativeMethods.cs
- ExtractorMetadata.cs
- ToolStripDesignerAvailabilityAttribute.cs
- PagedDataSource.cs
- XmlParser.cs
- DictionaryContent.cs
- CharStorage.cs
- MetadataCacheItem.cs
- ItemsChangedEventArgs.cs
- RevocationPoint.cs
- OutputWindow.cs
- ScaleTransform3D.cs
- ExtensionSurface.cs
- GridItemPattern.cs
- WebPartConnectVerb.cs
- AuthenticationModulesSection.cs
- Stack.cs
- CompilationRelaxations.cs
- EventLogEntry.cs
- LogLogRecordHeader.cs
- MethodCallTranslator.cs
- InputMethodStateChangeEventArgs.cs
- PeerApplicationLaunchInfo.cs
- ByteStreamBufferedMessageData.cs
- FilterQueryOptionExpression.cs
- NetworkInformationPermission.cs
- XmlValueConverter.cs
- ClientBuildManager.cs
- Package.cs
- Main.cs
- SerializationInfoEnumerator.cs
- JavascriptCallbackMessageInspector.cs
- TextBox.cs
- GridEntry.cs
- XmlNodeList.cs
- TableLayoutSettingsTypeConverter.cs
- ActivityExecutor.cs
- WinInetCache.cs
- Clock.cs
- SolidBrush.cs
- CheckBox.cs
- _IPv4Address.cs
- ControlValuePropertyAttribute.cs
- XmlMembersMapping.cs
- XpsS0ValidatingLoader.cs
- UnsafeNetInfoNativeMethods.cs
- HtmlCommandAdapter.cs
- LinkClickEvent.cs