Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / ComplexPropertyEntry.cs / 1 / ComplexPropertyEntry.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = 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
- EventPrivateKey.cs
- ManagedFilter.cs
- DataGridViewComboBoxColumn.cs
- SymDocumentType.cs
- ItemAutomationPeer.cs
- Subtract.cs
- GeneratedCodeAttribute.cs
- DebuggerAttributes.cs
- ETagAttribute.cs
- ExpandCollapseProviderWrapper.cs
- DataGridViewEditingControlShowingEventArgs.cs
- HttpModule.cs
- CallbackBehaviorAttribute.cs
- HttpConfigurationContext.cs
- Random.cs
- StringStorage.cs
- DataGridLinkButton.cs
- ButtonField.cs
- GatewayDefinition.cs
- WindowsListViewItem.cs
- LogicalTreeHelper.cs
- login.cs
- DataAdapter.cs
- BindingCompleteEventArgs.cs
- WebReferencesBuildProvider.cs
- Page.cs
- WebPartCancelEventArgs.cs
- HandlerBase.cs
- FormView.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- MonthChangedEventArgs.cs
- FocusWithinProperty.cs
- QilLiteral.cs
- MimeObjectFactory.cs
- RawStylusSystemGestureInputReport.cs
- DbQueryCommandTree.cs
- TraceUtils.cs
- WithStatement.cs
- EntityContainer.cs
- ForEachAction.cs
- ViewStateModeByIdAttribute.cs
- SocketElement.cs
- FlowLayoutPanelDesigner.cs
- FolderLevelBuildProvider.cs
- BitmapEffectInputConnector.cs
- RankException.cs
- HierarchicalDataBoundControlAdapter.cs
- HostExecutionContextManager.cs
- StubHelpers.cs
- MeasureData.cs
- ISessionStateStore.cs
- BezierSegment.cs
- WindowsToolbarAsMenu.cs
- OdbcReferenceCollection.cs
- CqlQuery.cs
- WsatExtendedInformation.cs
- ReferenceEqualityComparer.cs
- CanonicalizationDriver.cs
- TextModifier.cs
- WebPartTransformerCollection.cs
- MethodExecutor.cs
- TransformPatternIdentifiers.cs
- LinkClickEvent.cs
- PageParserFilter.cs
- _Connection.cs
- SpeakCompletedEventArgs.cs
- LateBoundBitmapDecoder.cs
- Point.cs
- DrawingContextDrawingContextWalker.cs
- BindingMemberInfo.cs
- JoinCqlBlock.cs
- RequestQueue.cs
- Overlapped.cs
- mil_sdk_version.cs
- URLMembershipCondition.cs
- RunWorkerCompletedEventArgs.cs
- HashLookup.cs
- CompilerGeneratedAttribute.cs
- ArgumentFixer.cs
- RowUpdatedEventArgs.cs
- SqlClientFactory.cs
- SafeIUnknown.cs
- MonitorWrapper.cs
- Transform3D.cs
- MemberAssignment.cs
- CodeTypeDeclaration.cs
- PolyQuadraticBezierSegment.cs
- WaitForChangedResult.cs
- StructuredType.cs
- ApplicationServiceHelper.cs
- FontWeight.cs
- ComponentChangingEvent.cs
- ControlBindingsCollection.cs
- CultureTableRecord.cs
- Constraint.cs
- AppSettings.cs
- PrivateFontCollection.cs
- SchemaExporter.cs
- ButtonFlatAdapter.cs
- RunWorkerCompletedEventArgs.cs