Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / PersonalizationEntry.cs / 1305376 / PersonalizationEntry.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; public sealed class PersonalizationEntry { private PersonalizationScope _scope; private object _value; private bool _isSensitive; public PersonalizationEntry(object value, PersonalizationScope scope) : this(value, scope, false) { } public PersonalizationEntry(object value, PersonalizationScope scope, bool isSensitive) { PersonalizationProviderHelper.CheckPersonalizationScope(scope); _value = value; _scope = scope; _isSensitive = isSensitive; } public PersonalizationScope Scope { get { return _scope; } set { if (value < PersonalizationScope.User || value > PersonalizationScope.Shared) { throw new ArgumentOutOfRangeException("value"); } _scope = value; } } public object Value { get { return _value; } set { _value = value; } } public bool IsSensitive { get { return _isSensitive; } set { _isSensitive = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeEventLogReadHandle.cs
- FastEncoderWindow.cs
- XmlNullResolver.cs
- ImageIndexConverter.cs
- AutoCompleteStringCollection.cs
- InvalidWMPVersionException.cs
- SqlExpander.cs
- XmlSecureResolver.cs
- SrgsElementFactory.cs
- TargetControlTypeCache.cs
- ExceptionUtil.cs
- validationstate.cs
- TabControlCancelEvent.cs
- InputLanguageManager.cs
- ConnectionString.cs
- ValidatedControlConverter.cs
- RegexInterpreter.cs
- InstalledFontCollection.cs
- FlowLayoutSettings.cs
- UITypeEditor.cs
- Rotation3D.cs
- XmlNodeList.cs
- TimeSpanConverter.cs
- PrintPreviewGraphics.cs
- DataBindingCollection.cs
- SmiConnection.cs
- SchemaNames.cs
- LineMetrics.cs
- ImageAttributes.cs
- SymbolUsageManager.cs
- DataControlFieldCollection.cs
- Identity.cs
- Visual3DCollection.cs
- RecordManager.cs
- StateChangeEvent.cs
- FtpCachePolicyElement.cs
- TextViewBase.cs
- UIElement3D.cs
- ScrollBarAutomationPeer.cs
- CriticalHandle.cs
- CodeNamespace.cs
- Encoding.cs
- Boolean.cs
- SizeAnimationUsingKeyFrames.cs
- SqlInternalConnection.cs
- RoleGroupCollection.cs
- Rights.cs
- RangeValidator.cs
- NonClientArea.cs
- LocatorManager.cs
- DownloadProgressEventArgs.cs
- WorkflowViewManager.cs
- TableProvider.cs
- ControlBuilderAttribute.cs
- ZipIOFileItemStream.cs
- DateTimeFormatInfoScanner.cs
- QueryRewriter.cs
- HttpProfileGroupBase.cs
- ReversePositionQuery.cs
- DrawingVisualDrawingContext.cs
- oledbmetadatacollectionnames.cs
- HtmlHistory.cs
- EllipseGeometry.cs
- HwndMouseInputProvider.cs
- MatchingStyle.cs
- OperatingSystem.cs
- RegistryDataKey.cs
- HashCryptoHandle.cs
- TypeBuilderInstantiation.cs
- TransformerConfigurationWizardBase.cs
- WebConfigurationHostFileChange.cs
- ITextView.cs
- IssuedTokenServiceCredential.cs
- PointLightBase.cs
- WebPartHelpVerb.cs
- DesignerFrame.cs
- XmlObjectSerializerReadContextComplex.cs
- DataGridViewTextBoxColumn.cs
- WebPartsPersonalization.cs
- SimpleWebHandlerParser.cs
- GroupJoinQueryOperator.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- OdbcParameterCollection.cs
- PrintDialog.cs
- AggregateNode.cs
- loginstatus.cs
- DataBindEngine.cs
- WmlLiteralTextAdapter.cs
- UnsafeNativeMethods.cs
- StartUpEventArgs.cs
- XamlPathDataSerializer.cs
- FormatException.cs
- ScriptManagerProxy.cs
- DataServiceBehavior.cs
- Base64Decoder.cs
- AbstractSvcMapFileLoader.cs
- UnknownMessageReceivedEventArgs.cs
- AsyncCompletedEventArgs.cs
- DefaultParameterValueAttribute.cs