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
- XmlNotation.cs
- GrammarBuilderBase.cs
- BitSet.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- _RequestCacheProtocol.cs
- QilNode.cs
- DbConnectionHelper.cs
- IgnoreFlushAndCloseStream.cs
- SafeCryptoKeyHandle.cs
- PermissionListSet.cs
- NullableDecimalMinMaxAggregationOperator.cs
- LoginCancelEventArgs.cs
- MatrixKeyFrameCollection.cs
- WindowsGrip.cs
- StreamAsIStream.cs
- AppDomainUnloadedException.cs
- NamedObject.cs
- CompiledRegexRunnerFactory.cs
- TrackingRecord.cs
- HelpProvider.cs
- CqlIdentifiers.cs
- Switch.cs
- ResourceManager.cs
- SRGSCompiler.cs
- Empty.cs
- XmlSerializerNamespaces.cs
- ParameterBuilder.cs
- DBNull.cs
- StrokeIntersection.cs
- ParameterDataSourceExpression.cs
- XmlBaseReader.cs
- ScrollItemProviderWrapper.cs
- SymbolMethod.cs
- SpecularMaterial.cs
- DivideByZeroException.cs
- FlowDocumentPaginator.cs
- ResourceAssociationSetEnd.cs
- XmlEncodedRawTextWriter.cs
- SqlInternalConnectionSmi.cs
- HuffModule.cs
- LowerCaseStringConverter.cs
- MethodInfo.cs
- StylusCaptureWithinProperty.cs
- SecurityDescriptor.cs
- IpcClientChannel.cs
- DelayedRegex.cs
- ReferenceConverter.cs
- WorkflowDesigner.cs
- ExpandCollapsePattern.cs
- RenderingBiasValidation.cs
- UserInitiatedNavigationPermission.cs
- Border.cs
- CollectionMarkupSerializer.cs
- IisTraceWebEventProvider.cs
- CodeCompiler.cs
- ListItemDetailViewAttribute.cs
- PropertyOverridesDialog.cs
- DataServiceHostWrapper.cs
- OptionalColumn.cs
- CaseInsensitiveComparer.cs
- sqlstateclientmanager.cs
- DataGrid.cs
- GridViewRow.cs
- WindowsAuthenticationEventArgs.cs
- ProfileServiceManager.cs
- AuthenticationSection.cs
- RangeValuePattern.cs
- Label.cs
- MenuEventArgs.cs
- SqlDataSource.cs
- MatrixValueSerializer.cs
- HttpProxyCredentialType.cs
- EncryptedType.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- Light.cs
- ProfilePropertyNameValidator.cs
- CapabilitiesUse.cs
- ConsumerConnectionPoint.cs
- RelationshipConstraintValidator.cs
- ListViewItemCollectionEditor.cs
- WebBrowserHelper.cs
- XPathMessageFilterElement.cs
- MarkupWriter.cs
- CodeSubDirectoriesCollection.cs
- SqlCachedBuffer.cs
- SqlDataSourceCommandEventArgs.cs
- DashStyles.cs
- NetworkInformationException.cs
- _AcceptOverlappedAsyncResult.cs
- LineSegment.cs
- HWStack.cs
- EnumUnknown.cs
- CatalogPartChrome.cs
- DetailsViewPagerRow.cs
- XmlSchemaObjectTable.cs
- EntityContainerAssociationSetEnd.cs
- EqualityComparer.cs
- Sequence.cs
- ClassDataContract.cs
- EntitySqlQueryState.cs