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
- Types.cs
- BrowsableAttribute.cs
- ReferencedAssembly.cs
- IsolatedStorage.cs
- QilInvokeEarlyBound.cs
- WebColorConverter.cs
- OutArgumentConverter.cs
- InkCanvas.cs
- InternalMappingException.cs
- ActivityStatusChangeEventArgs.cs
- PathData.cs
- Group.cs
- IdentityHolder.cs
- RawTextInputReport.cs
- ManualResetEvent.cs
- Main.cs
- HotSpotCollection.cs
- SizeIndependentAnimationStorage.cs
- ApplicationActivator.cs
- TypeForwardedToAttribute.cs
- DesignerDataConnection.cs
- InlineUIContainer.cs
- TextBoxRenderer.cs
- HealthMonitoringSection.cs
- HtmlElementEventArgs.cs
- ImageField.cs
- DetailsViewDeleteEventArgs.cs
- SqlBulkCopy.cs
- ProfileManager.cs
- DataGrid.cs
- Dynamic.cs
- ChildrenQuery.cs
- SR.cs
- BaseCAMarshaler.cs
- NotifyParentPropertyAttribute.cs
- IdentityHolder.cs
- DoubleStorage.cs
- DataBindingHandlerAttribute.cs
- AuthenticationException.cs
- CodeDOMProvider.cs
- Vector3DValueSerializer.cs
- RecipientInfo.cs
- OperandQuery.cs
- BamlRecordHelper.cs
- InputLangChangeRequestEvent.cs
- IndexedGlyphRun.cs
- OleDbEnumerator.cs
- TableItemPattern.cs
- RequestTimeoutManager.cs
- XmlRootAttribute.cs
- StringKeyFrameCollection.cs
- AppDomainProtocolHandler.cs
- DefaultHttpHandler.cs
- AndAlso.cs
- DataTemplateKey.cs
- HttpSocketManager.cs
- TextBoxRenderer.cs
- SQLDateTime.cs
- Geometry3D.cs
- HttpConfigurationSystem.cs
- TrustManagerMoreInformation.cs
- PermissionRequestEvidence.cs
- AsyncContentLoadedEventArgs.cs
- XpsResourcePolicy.cs
- ListViewItemMouseHoverEvent.cs
- RIPEMD160.cs
- OperationCanceledException.cs
- AssociationSet.cs
- AnalyzedTree.cs
- SpellerError.cs
- XmlTextWriter.cs
- TextEffect.cs
- EnterpriseServicesHelper.cs
- LinkUtilities.cs
- BamlResourceContent.cs
- MatrixAnimationUsingKeyFrames.cs
- ImageInfo.cs
- IERequestCache.cs
- ToolboxItemCollection.cs
- ToolStripContentPanelRenderEventArgs.cs
- Attributes.cs
- Stream.cs
- ContentPosition.cs
- X509ChainPolicy.cs
- Hex.cs
- UnaryNode.cs
- WpfKnownTypeInvoker.cs
- StreamWriter.cs
- Vector3DCollectionValueSerializer.cs
- ColumnMapVisitor.cs
- DesignerActionGlyph.cs
- TabControlEvent.cs
- RegexBoyerMoore.cs
- CfgSemanticTag.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- DataGridViewButtonColumn.cs
- QilName.cs
- ConnectionManagementSection.cs
- CapabilitiesPattern.cs
- Sequence.cs