Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / EmptyControlCollection.cs / 1 / EmptyControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class EmptyControlCollection : ControlCollection { ////// Represents a ControlCollection that is always empty. /// ////// public EmptyControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } ///[To be supplied.] ////// public override void Add(Control child) { ThrowNotSupportedException(); } ///[To be supplied.] ////// public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewColumn.cs
- SelectorItemAutomationPeer.cs
- ListViewContainer.cs
- ToolboxComponentsCreatingEventArgs.cs
- ProcessHostFactoryHelper.cs
- FormViewUpdatedEventArgs.cs
- ToolStripDropDownClosedEventArgs.cs
- LoadedEvent.cs
- SettingsAttributes.cs
- DataGridColumn.cs
- localization.cs
- ContractType.cs
- CodeTryCatchFinallyStatement.cs
- Win32Native.cs
- EastAsianLunisolarCalendar.cs
- XmlILConstructAnalyzer.cs
- ReturnValue.cs
- FileSystemEventArgs.cs
- Inflater.cs
- SecureStringHasher.cs
- PropertyGrid.cs
- MachineKeyConverter.cs
- ThreadPoolTaskScheduler.cs
- XmlWrappingWriter.cs
- PagedDataSource.cs
- ClaimTypeElementCollection.cs
- AnnotationService.cs
- CodeChecksumPragma.cs
- MaskedTextProvider.cs
- ReflectionTypeLoadException.cs
- GridViewRow.cs
- WeakReferenceKey.cs
- ClientType.cs
- XomlCompilerError.cs
- CommonDialog.cs
- IPAddressCollection.cs
- ExplicitDiscriminatorMap.cs
- CompensationHandlingFilter.cs
- CookielessHelper.cs
- SchemaAttDef.cs
- TabletDevice.cs
- ObjectDataSourceMethodEventArgs.cs
- ProbeMatchesCD1.cs
- QueryStringParameter.cs
- TimeSpanMinutesConverter.cs
- WebPartHelpVerb.cs
- ThumbAutomationPeer.cs
- ConfigurationLocation.cs
- DesignerContextDescriptor.cs
- HttpResponse.cs
- RegexFCD.cs
- RequestQueue.cs
- FirstQueryOperator.cs
- WindowsFormsSectionHandler.cs
- SamlSecurityToken.cs
- ValueConversionAttribute.cs
- RijndaelManagedTransform.cs
- StreamInfo.cs
- ExtenderProvidedPropertyAttribute.cs
- ObjectDisposedException.cs
- TabControlEvent.cs
- codemethodreferenceexpression.cs
- WebHttpDispatchOperationSelector.cs
- ReferentialConstraint.cs
- SByteStorage.cs
- PointCollectionValueSerializer.cs
- ListItemCollection.cs
- TextCompositionEventArgs.cs
- ArrowControl.xaml.cs
- MembershipSection.cs
- PropertyPushdownHelper.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- CallId.cs
- HotSpot.cs
- Button.cs
- IEnumerable.cs
- MdiWindowListStrip.cs
- FreezableOperations.cs
- ResizeGrip.cs
- returneventsaver.cs
- Int32AnimationUsingKeyFrames.cs
- ServicePointManagerElement.cs
- HttpHandlerAction.cs
- ValueType.cs
- ToolStripContentPanelRenderEventArgs.cs
- TextBoxAutomationPeer.cs
- MessageSmuggler.cs
- MessageBox.cs
- ProgressBar.cs
- DesignTimeTemplateParser.cs
- InkCollectionBehavior.cs
- HebrewNumber.cs
- DrawingContextDrawingContextWalker.cs
- DateBoldEvent.cs
- SamlEvidence.cs
- FileClassifier.cs
- GridViewColumnHeaderAutomationPeer.cs
- AllMembershipCondition.cs
- SplitterEvent.cs
- Point3DAnimationUsingKeyFrames.cs