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
- HiddenFieldPageStatePersister.cs
- ComboBoxRenderer.cs
- CorrelationScope.cs
- RuntimeConfig.cs
- MenuBase.cs
- DispatchChannelSink.cs
- LinqMaximalSubtreeNominator.cs
- WebPartManagerInternals.cs
- ContextMenu.cs
- EdgeModeValidation.cs
- SessionParameter.cs
- BufferModesCollection.cs
- IgnoreFileBuildProvider.cs
- RootCodeDomSerializer.cs
- ProxyWebPartConnectionCollection.cs
- HeaderedItemsControl.cs
- SmtpReplyReader.cs
- GlyphElement.cs
- CultureTable.cs
- ComplexTypeEmitter.cs
- FileStream.cs
- ReflectionHelper.cs
- EntityDataSourceState.cs
- DocumentXPathNavigator.cs
- securestring.cs
- UdpConstants.cs
- RequestQueue.cs
- ToolStripDropDownClosingEventArgs.cs
- DocumentViewerBase.cs
- ExpressionNode.cs
- ContentElement.cs
- QueueProcessor.cs
- SrgsOneOf.cs
- Single.cs
- TcpAppDomainProtocolHandler.cs
- WizardSideBarListControlItem.cs
- SafeNativeMethods.cs
- ToolStrip.cs
- DataBinding.cs
- KnownTypeHelper.cs
- Wizard.cs
- WmpBitmapDecoder.cs
- OleDragDropHandler.cs
- SmtpClient.cs
- RenderDataDrawingContext.cs
- MetadataArtifactLoaderCompositeResource.cs
- TypeUtil.cs
- ToolboxComponentsCreatingEventArgs.cs
- OrElse.cs
- InputElement.cs
- SQLInt64.cs
- CipherData.cs
- OperationCanceledException.cs
- HtmlDocument.cs
- SqlFileStream.cs
- GetPageCompletedEventArgs.cs
- ActiveXHost.cs
- SmiXetterAccessMap.cs
- TargetParameterCountException.cs
- documentation.cs
- OutputScope.cs
- GPRECT.cs
- BaseParser.cs
- PrintDocument.cs
- DiscoveryRequestHandler.cs
- DesignerActionMethodItem.cs
- ILGenerator.cs
- indexingfiltermarshaler.cs
- OptimizedTemplateContent.cs
- MimeParameters.cs
- VectorKeyFrameCollection.cs
- SpecularMaterial.cs
- SerializationAttributes.cs
- SecondaryIndex.cs
- FamilyTypeface.cs
- IgnoreSection.cs
- DodSequenceMerge.cs
- ExitEventArgs.cs
- IPHostEntry.cs
- DrawingGroup.cs
- ListControlActionList.cs
- TextProviderWrapper.cs
- IndentedTextWriter.cs
- XPathMessageFilterElementComparer.cs
- FieldAccessException.cs
- ControlCachePolicy.cs
- UserNameSecurityTokenProvider.cs
- CqlErrorHelper.cs
- ObjectListDataBindEventArgs.cs
- TypeToken.cs
- XmlReflectionMember.cs
- RedirectionProxy.cs
- XmlDictionaryReader.cs
- FileUtil.cs
- WaitHandleCannotBeOpenedException.cs
- WorkflowMarkupElementEventArgs.cs
- ResXBuildProvider.cs
- CompatibleComparer.cs
- Rect3DValueSerializer.cs
- EncoderFallback.cs