Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / InternalControlCollection.cs / 1 / InternalControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { ////// internal class InternalControlCollection : ControlCollection { internal InternalControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } public override void Add(Control child) { ThrowNotSupportedException(); } public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } #if SHIPPINGADAPTERS internal void AddInternal(Control child) { base.Add(child); } #endif } }/// Represents a ControlCollection that controls can only be added to internally. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PathTooLongException.cs
- DesignerCommandSet.cs
- RegistryExceptionHelper.cs
- Stream.cs
- _PooledStream.cs
- FormViewInsertedEventArgs.cs
- CodeDomComponentSerializationService.cs
- RegionIterator.cs
- NativeMethods.cs
- NetworkCredential.cs
- TypographyProperties.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- UIElementParaClient.cs
- TokenBasedSetEnumerator.cs
- PeerTransportSecuritySettings.cs
- CustomAttributeBuilder.cs
- WsatAdminException.cs
- ValueTypeFixupInfo.cs
- ConfigXmlWhitespace.cs
- DataGridAutomationPeer.cs
- DataSourceXmlClassAttribute.cs
- LabelEditEvent.cs
- DictionaryContent.cs
- FileDialog_Vista.cs
- WebPartZoneBase.cs
- X509WindowsSecurityToken.cs
- EventHandlersStore.cs
- x509utils.cs
- IndentedWriter.cs
- StatusBarPanel.cs
- ImageSource.cs
- SqlTypeConverter.cs
- SimpleTextLine.cs
- ExchangeUtilities.cs
- cache.cs
- TextClipboardData.cs
- ContextMenu.cs
- Error.cs
- BinaryFormatterWriter.cs
- ToolStripInSituService.cs
- DataTrigger.cs
- ContextMenu.cs
- RectKeyFrameCollection.cs
- MenuScrollingVisibilityConverter.cs
- DesignerObject.cs
- RegularExpressionValidator.cs
- X500Name.cs
- BaseAsyncResult.cs
- Classification.cs
- ItemsControl.cs
- TextAdaptor.cs
- ToolStripItemEventArgs.cs
- ellipse.cs
- TableLayoutPanelResizeGlyph.cs
- SerializableAttribute.cs
- SingleConverter.cs
- PropertyStore.cs
- PathGeometry.cs
- ProfileSection.cs
- DataGrid.cs
- BasePattern.cs
- Part.cs
- TdsValueSetter.cs
- XmlSchemaException.cs
- MulticastDelegate.cs
- DataGridTextBox.cs
- SocketInformation.cs
- FixedFlowMap.cs
- InfoCardProofToken.cs
- HitTestParameters.cs
- ColorDialog.cs
- OdbcCommand.cs
- UIElement3D.cs
- ImportCatalogPart.cs
- SessionPageStatePersister.cs
- HierarchicalDataSourceControl.cs
- ExpressionList.cs
- WsdlBuildProvider.cs
- VersionedStreamOwner.cs
- EntityTransaction.cs
- XamlFigureLengthSerializer.cs
- CodeLinePragma.cs
- ValueHandle.cs
- FieldTemplateFactory.cs
- FileLoadException.cs
- Models.cs
- HttpListenerContext.cs
- DesignTimeType.cs
- RuntimeComponentFilter.cs
- TriggerActionCollection.cs
- StreamReader.cs
- FileLoadException.cs
- MsmqIntegrationOutputChannel.cs
- SEHException.cs
- CapabilitiesRule.cs
- OdbcConnection.cs
- CollectionBuilder.cs
- PermissionAttributes.cs
- FlowDocumentFormatter.cs
- ProfilePropertySettingsCollection.cs