Code:
/ FX-1434 / FX-1434 / 1.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
- _OverlappedAsyncResult.cs
- TextUtf8RawTextWriter.cs
- SiteMapProvider.cs
- WebFormDesignerActionService.cs
- TransformCollection.cs
- TypeDependencyAttribute.cs
- PathGeometry.cs
- InputReportEventArgs.cs
- PointAnimationUsingKeyFrames.cs
- HMACRIPEMD160.cs
- _Events.cs
- ApplicationInterop.cs
- VarRefManager.cs
- FormatStringEditor.cs
- ApplicationId.cs
- SafeHandle.cs
- PartialCachingControl.cs
- TemplateParser.cs
- SmtpFailedRecipientException.cs
- PathFigureCollectionValueSerializer.cs
- TimeSpanSecondsConverter.cs
- MetaTable.cs
- ProjectionPathSegment.cs
- PasswordPropertyTextAttribute.cs
- AccessText.cs
- AdditionalEntityFunctions.cs
- HttpCookie.cs
- OdbcStatementHandle.cs
- AmbientLight.cs
- XmlSchemaAll.cs
- FileNotFoundException.cs
- DrawingGroupDrawingContext.cs
- WebPartEditorCancelVerb.cs
- OleDbPropertySetGuid.cs
- CommonDialog.cs
- HtmlInputFile.cs
- ExpressionCopier.cs
- _StreamFramer.cs
- ContractReference.cs
- MachineKeyValidationConverter.cs
- LostFocusEventManager.cs
- ImageClickEventArgs.cs
- TextProperties.cs
- XmlEventCache.cs
- BinaryConverter.cs
- HtmlSelect.cs
- ToolBarButton.cs
- HtmlTableRowCollection.cs
- _NtlmClient.cs
- TripleDES.cs
- DataColumnMappingCollection.cs
- AudioFormatConverter.cs
- ObjectAssociationEndMapping.cs
- XmlHierarchyData.cs
- TreeView.cs
- SecurityContext.cs
- EncoderParameter.cs
- DeviceFiltersSection.cs
- _ServiceNameStore.cs
- WindowsToolbarItemAsMenuItem.cs
- DataGridTextBoxColumn.cs
- OleDbConnection.cs
- FillBehavior.cs
- Point3DCollection.cs
- AutomationIdentifierGuids.cs
- TextControlDesigner.cs
- CurrencyWrapper.cs
- ModuleConfigurationInfo.cs
- CompositeDataBoundControl.cs
- ZoneIdentityPermission.cs
- ButtonPopupAdapter.cs
- ExpiredSecurityTokenException.cs
- MiniMapControl.xaml.cs
- ProfileBuildProvider.cs
- MenuItemBinding.cs
- WebPartCloseVerb.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- IsolatedStorage.cs
- BitSet.cs
- ResourceReferenceExpressionConverter.cs
- AccessViolationException.cs
- InternalTypeHelper.cs
- ResXFileRef.cs
- BaseDataListPage.cs
- MessageDispatch.cs
- ToolStripSettings.cs
- XmlSchemaAttributeGroup.cs
- MimeWriter.cs
- ProfileModule.cs
- RectangleF.cs
- ImageCollectionCodeDomSerializer.cs
- CopyNamespacesAction.cs
- RenderDataDrawingContext.cs
- fixedPageContentExtractor.cs
- SocketException.cs
- WizardForm.cs
- RealizationDrawingContextWalker.cs
- StorageComplexPropertyMapping.cs
- XmlSchemaIdentityConstraint.cs
- TimeZoneNotFoundException.cs