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
- HeaderCollection.cs
- Hashtable.cs
- HttpCookiesSection.cs
- CatalogPartCollection.cs
- Pens.cs
- NoClickablePointException.cs
- SevenBitStream.cs
- MsmqIntegrationInputChannel.cs
- dbenumerator.cs
- ChineseLunisolarCalendar.cs
- CompilerWrapper.cs
- AutomationProperties.cs
- PageTheme.cs
- UserMapPath.cs
- ClassHandlersStore.cs
- ResourcePermissionBase.cs
- CategoryAttribute.cs
- LinkUtilities.cs
- FrameworkElement.cs
- UserControlFileEditor.cs
- UnaryNode.cs
- XPathArrayIterator.cs
- AnnotationResource.cs
- CorrelationService.cs
- ProcessProtocolHandler.cs
- SmtpNegotiateAuthenticationModule.cs
- ControlBindingsCollection.cs
- DrawingCollection.cs
- IProvider.cs
- ServiceHttpHandlerFactory.cs
- RadioButtonBaseAdapter.cs
- CompilerTypeWithParams.cs
- EmptyEnumerable.cs
- MetadataItemCollectionFactory.cs
- DefaultPrintController.cs
- AtomParser.cs
- SafeFindHandle.cs
- HtmlControlPersistable.cs
- SafeHandles.cs
- SqlSelectStatement.cs
- CachedTypeface.cs
- SQLCharsStorage.cs
- ActiveXMessageFormatter.cs
- MaterialCollection.cs
- ListViewItemCollectionEditor.cs
- RegionData.cs
- EntityDataSourceChangedEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- CalendarButton.cs
- SmtpNetworkElement.cs
- PerspectiveCamera.cs
- SqlTriggerAttribute.cs
- OptimizedTemplateContent.cs
- ButtonBaseAutomationPeer.cs
- SoapSchemaImporter.cs
- ObjectPersistData.cs
- DynamicValidatorEventArgs.cs
- TypeGeneratedEventArgs.cs
- TextElement.cs
- StateMachine.cs
- DataGridPageChangedEventArgs.cs
- DefaultMemberAttribute.cs
- SessionStateSection.cs
- RealizationDrawingContextWalker.cs
- xdrvalidator.cs
- XmlWriter.cs
- IdleTimeoutMonitor.cs
- RowToParametersTransformer.cs
- ConfigXmlComment.cs
- StringBuilder.cs
- LoginUtil.cs
- DbConnectionInternal.cs
- DockEditor.cs
- XhtmlBasicTextBoxAdapter.cs
- ClientProxyGenerator.cs
- SecurityCriticalDataForSet.cs
- IdentityReference.cs
- HybridDictionary.cs
- SRGSCompiler.cs
- SrgsElementFactory.cs
- WsdlBuildProvider.cs
- ParallelTimeline.cs
- NetworkInformationPermission.cs
- SignedPkcs7.cs
- TextRenderingModeValidation.cs
- XmlLanguage.cs
- SchemaCompiler.cs
- VersionPair.cs
- CompiledRegexRunnerFactory.cs
- SqlWriter.cs
- DataServiceClientException.cs
- ChtmlSelectionListAdapter.cs
- XmlEnumAttribute.cs
- InvalidAsynchronousStateException.cs
- Match.cs
- PersonalizationProviderHelper.cs
- SizeValueSerializer.cs
- GridViewPageEventArgs.cs
- StringKeyFrameCollection.cs
- BinaryConverter.cs