Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Indicates the value of the item that is stored in the ////// object.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfileGroupSettingsCollection.cs
- DetailsView.cs
- SimpleHandlerBuildProvider.cs
- EdmItemError.cs
- CheckBoxList.cs
- TableRowCollection.cs
- SqlAggregateChecker.cs
- Wizard.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ELinqQueryState.cs
- CurrencyManager.cs
- OptimalTextSource.cs
- WrappedReader.cs
- StreamingContext.cs
- PrintPageEvent.cs
- PropertyNames.cs
- UnicastIPAddressInformationCollection.cs
- PersonalizableTypeEntry.cs
- future.cs
- AutomationPattern.cs
- FrameworkPropertyMetadata.cs
- NamespaceMapping.cs
- StreamSecurityUpgradeInitiatorBase.cs
- BitmapEditor.cs
- QilIterator.cs
- PatternMatcher.cs
- SignatureResourcePool.cs
- XPathScanner.cs
- RMEnrollmentPage1.cs
- GAC.cs
- FormsAuthenticationCredentials.cs
- Stylesheet.cs
- ReadOnlyDictionary.cs
- BoundField.cs
- Form.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TableRow.cs
- Normalization.cs
- Msmq4SubqueuePoisonHandler.cs
- XmlAttribute.cs
- XmlSerializerAssemblyAttribute.cs
- SemaphoreFullException.cs
- contentDescriptor.cs
- EncoderNLS.cs
- ActivityXRefPropertyEditor.cs
- CheckBox.cs
- ClientTarget.cs
- NavigationExpr.cs
- QueryCacheKey.cs
- MappedMetaModel.cs
- HttpClientProtocol.cs
- BrushMappingModeValidation.cs
- EllipticalNodeOperations.cs
- StreamGeometry.cs
- XmlAtomicValue.cs
- Exceptions.cs
- DynamicValidator.cs
- NativeMethods.cs
- TdsParserSessionPool.cs
- StorageEntitySetMapping.cs
- AutoGeneratedFieldProperties.cs
- SequentialUshortCollection.cs
- PeerNameRegistration.cs
- TemplateComponentConnector.cs
- SqlDataSourceCustomCommandPanel.cs
- ExpressionLexer.cs
- KeyInstance.cs
- ComponentSerializationService.cs
- WorkItem.cs
- ValueSerializer.cs
- UriExt.cs
- ListView.cs
- cache.cs
- WeakEventTable.cs
- documentsequencetextcontainer.cs
- ArrayTypeMismatchException.cs
- MultiAsyncResult.cs
- RecordBuilder.cs
- StyleXamlParser.cs
- FieldToken.cs
- XmlSerializerNamespaces.cs
- ByteViewer.cs
- Attributes.cs
- SecurityPolicySection.cs
- SqlRowUpdatingEvent.cs
- SafeWaitHandle.cs
- FloatSumAggregationOperator.cs
- Constraint.cs
- Trace.cs
- EdmMember.cs
- AttributeAction.cs
- ObjectHelper.cs
- HandleCollector.cs
- BrowserTree.cs
- HtmlInputCheckBox.cs
- ObjRef.cs
- SerializerProvider.cs
- SessionStateUtil.cs
- Dump.cs
- ActiveDocumentEvent.cs