Code:
/ FX-1434 / FX-1434 / 1.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
- StringInfo.cs
- MouseBinding.cs
- PreProcessor.cs
- TableRow.cs
- ConstantCheck.cs
- WindowsToolbarAsMenu.cs
- TraceEventCache.cs
- CompatibleComparer.cs
- ArrayConverter.cs
- OverlappedAsyncResult.cs
- ListManagerBindingsCollection.cs
- MenuBindingsEditor.cs
- TextTreeInsertUndoUnit.cs
- RemoteCryptoSignHashRequest.cs
- ClickablePoint.cs
- AnonymousIdentificationSection.cs
- RootBrowserWindowProxy.cs
- BaseAsyncResult.cs
- X509ChainElement.cs
- BCryptNative.cs
- IisTraceWebEventProvider.cs
- TransformConverter.cs
- IconBitmapDecoder.cs
- FormatControl.cs
- CompiledRegexRunner.cs
- QuadraticBezierSegment.cs
- WsatConfiguration.cs
- AspCompat.cs
- FontUnitConverter.cs
- SafeArrayRankMismatchException.cs
- AddingNewEventArgs.cs
- ComEventsSink.cs
- InvalidComObjectException.cs
- TextDecorationCollectionConverter.cs
- ExpandoClass.cs
- ExpressionsCollectionEditor.cs
- RemotingHelper.cs
- RichTextBoxAutomationPeer.cs
- ChangeInterceptorAttribute.cs
- OracleCommand.cs
- InkCanvas.cs
- CodeDomExtensionMethods.cs
- Operator.cs
- AddInBase.cs
- _KerberosClient.cs
- HtmlLink.cs
- CellIdBoolean.cs
- MdiWindowListStrip.cs
- ConnectionProviderAttribute.cs
- ValidationSummaryDesigner.cs
- XmlLanguage.cs
- FormViewInsertedEventArgs.cs
- ValidationSummary.cs
- ConfigXmlReader.cs
- RelativeSource.cs
- SecurityContextKeyIdentifierClause.cs
- ContextMarshalException.cs
- Section.cs
- SqlDependencyUtils.cs
- GroupBox.cs
- DefaultWorkflowSchedulerService.cs
- InheritanceService.cs
- CurrencyWrapper.cs
- Floater.cs
- MenuEventArgs.cs
- X509UI.cs
- TransformGroup.cs
- ItemsControl.cs
- LoginView.cs
- ResizeBehavior.cs
- SaveFileDialog.cs
- ECDsaCng.cs
- DateTimeEditor.cs
- PersonalizationProvider.cs
- assertwrapper.cs
- ReflectTypeDescriptionProvider.cs
- ExtendedProperty.cs
- DashStyle.cs
- AnnotationMap.cs
- DataServiceRequestArgs.cs
- SerializableAttribute.cs
- StandardToolWindows.cs
- PenContext.cs
- ConfigurationElementProperty.cs
- Rectangle.cs
- Collection.cs
- XmlAutoDetectWriter.cs
- WorkflowRuntimeSection.cs
- CookieProtection.cs
- ParallelActivityDesigner.cs
- XmlEncodedRawTextWriter.cs
- FileNotFoundException.cs
- XmlToDatasetMap.cs
- translator.cs
- RectAnimationUsingKeyFrames.cs
- SqlConnection.cs
- BindingCompleteEventArgs.cs
- DataPagerFieldCollection.cs
- PerformanceCounter.cs
- WmpBitmapDecoder.cs