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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResolveInfo.cs
- WSFederationHttpBindingElement.cs
- ApplicationManager.cs
- MemoryFailPoint.cs
- AnnouncementInnerClientCD1.cs
- CollectionChange.cs
- NativeRightsManagementAPIsStructures.cs
- Restrictions.cs
- TrueReadOnlyCollection.cs
- Missing.cs
- DocumentSchemaValidator.cs
- AssociationEndMember.cs
- SqlRemoveConstantOrderBy.cs
- AsymmetricSignatureDeformatter.cs
- ServiceAuthorizationElement.cs
- DocumentPageHost.cs
- ElementUtil.cs
- IOThreadTimer.cs
- CardSpaceShim.cs
- FontCollection.cs
- WindowsTitleBar.cs
- XmlAttributeOverrides.cs
- Italic.cs
- CanonicalFontFamilyReference.cs
- CommandID.cs
- BrowsableAttribute.cs
- storepermissionattribute.cs
- DataGridViewSortCompareEventArgs.cs
- CommandField.cs
- MissingFieldException.cs
- GregorianCalendarHelper.cs
- UIPermission.cs
- ConfigurationValidatorAttribute.cs
- MessageQueueAccessControlEntry.cs
- Signature.cs
- PaintValueEventArgs.cs
- SQLInt64Storage.cs
- ServerIdentity.cs
- EventRouteFactory.cs
- DropSource.cs
- XPathConvert.cs
- WindowCollection.cs
- DescendantBaseQuery.cs
- shaperfactoryquerycacheentry.cs
- WebScriptEnablingBehavior.cs
- XmlSerializationWriter.cs
- PieceNameHelper.cs
- ImageFormatConverter.cs
- EncoderParameters.cs
- BindableTemplateBuilder.cs
- RequiredFieldValidator.cs
- HMAC.cs
- sitestring.cs
- Polygon.cs
- RadioButtonStandardAdapter.cs
- SqlTransaction.cs
- CacheSection.cs
- PaginationProgressEventArgs.cs
- EventEntry.cs
- CompilerCollection.cs
- TextBox.cs
- HwndPanningFeedback.cs
- ColumnClickEvent.cs
- RepeaterItemEventArgs.cs
- EdmItemError.cs
- InheritanceContextHelper.cs
- Baml2006ReaderContext.cs
- TouchesOverProperty.cs
- InternalControlCollection.cs
- LocalizableAttribute.cs
- SQLDateTimeStorage.cs
- DbMetaDataColumnNames.cs
- ControlFilterExpression.cs
- IriParsingElement.cs
- DNS.cs
- RowVisual.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- OrderingInfo.cs
- MarkupCompilePass2.cs
- ECDsaCng.cs
- SafeCryptoHandles.cs
- DockAndAnchorLayout.cs
- MsmqIntegrationSecurityMode.cs
- UserNameSecurityTokenAuthenticator.cs
- SqlBooleanMismatchVisitor.cs
- CroppedBitmap.cs
- WebPartHelpVerb.cs
- CellConstant.cs
- XmlQueryOutput.cs
- MailAddressParser.cs
- SoapBinding.cs
- RenderingEventArgs.cs
- DesignTimeVisibleAttribute.cs
- sqlmetadatafactory.cs
- SqlGenerator.cs
- CompilerCollection.cs
- PointConverter.cs
- SmiEventStream.cs
- WebPartAuthorizationEventArgs.cs
- WebDisplayNameAttribute.cs