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
- FrameworkContentElement.cs
- Ref.cs
- BufferedReceiveManager.cs
- Int16.cs
- SerializationSectionGroup.cs
- ListViewTableRow.cs
- ProcessInfo.cs
- ServiceOperationListItemList.cs
- NameValueFileSectionHandler.cs
- BitmapEffectOutputConnector.cs
- TextEditorSpelling.cs
- CodeMethodMap.cs
- ProcessModuleCollection.cs
- ManagementObject.cs
- ValidationSettings.cs
- DataGridPageChangedEventArgs.cs
- FileResponseElement.cs
- Predicate.cs
- ImageSourceValueSerializer.cs
- StagingAreaInputItem.cs
- NeedSkipTokenVisitor.cs
- SessionPageStatePersister.cs
- ColorComboBox.cs
- MaskInputRejectedEventArgs.cs
- Border.cs
- PageContent.cs
- SqlUtil.cs
- HTMLTagNameToTypeMapper.cs
- APCustomTypeDescriptor.cs
- DesignerAttribute.cs
- SpeechSynthesizer.cs
- SelectedGridItemChangedEvent.cs
- GroupByExpressionRewriter.cs
- httpserverutility.cs
- TypeNameConverter.cs
- TypeDescriptionProviderAttribute.cs
- AssemblyAttributesGoHere.cs
- CodeRegionDirective.cs
- ToolStripDesignerUtils.cs
- ListItemConverter.cs
- ModuleBuilder.cs
- TreeNode.cs
- EpmCustomContentDeSerializer.cs
- PhysicalFontFamily.cs
- ClassValidator.cs
- TextWriter.cs
- XsltCompileContext.cs
- BuildProvider.cs
- XmlIterators.cs
- Compiler.cs
- AuthenticatingEventArgs.cs
- FloaterBaseParagraph.cs
- NumericUpDown.cs
- WebBrowserProgressChangedEventHandler.cs
- DesignerGenericWebPart.cs
- GroupDescription.cs
- ContentFileHelper.cs
- PopupRootAutomationPeer.cs
- DataList.cs
- AuthenticationService.cs
- StateBag.cs
- util.cs
- DocumentXmlWriter.cs
- CodeExpressionRuleDeclaration.cs
- ApplicationSettingsBase.cs
- MD5CryptoServiceProvider.cs
- OleDbDataAdapter.cs
- GatewayDefinition.cs
- View.cs
- XmlTextReaderImpl.cs
- DataObjectCopyingEventArgs.cs
- ComponentRenameEvent.cs
- QueryContinueDragEvent.cs
- JsonFormatGeneratorStatics.cs
- DetailsViewDesigner.cs
- PerformanceCounterPermissionEntry.cs
- GenericQueueSurrogate.cs
- ScriptModule.cs
- BooleanProjectedSlot.cs
- XmlAutoDetectWriter.cs
- MemberJoinTreeNode.cs
- UnicastIPAddressInformationCollection.cs
- EntityClassGenerator.cs
- UnmanagedBitmapWrapper.cs
- DataGridViewLayoutData.cs
- OperationExecutionFault.cs
- PopupEventArgs.cs
- ColorInterpolationModeValidation.cs
- ProfileSettings.cs
- TextContainerHelper.cs
- SystemInfo.cs
- AmbientLight.cs
- AbstractSvcMapFileLoader.cs
- ProfileSettingsCollection.cs
- FormatterConverter.cs
- EmptyEnumerator.cs
- TextElement.cs
- JulianCalendar.cs
- XmlTextWriter.cs
- RelationshipEntry.cs