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
- PointHitTestParameters.cs
- TextViewSelectionProcessor.cs
- Stylesheet.cs
- ObjectReferenceStack.cs
- ScrollData.cs
- ButtonBase.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- TextTrailingCharacterEllipsis.cs
- _ListenerResponseStream.cs
- MessagePropertyFilter.cs
- PriorityRange.cs
- InputScope.cs
- AppDomain.cs
- Registry.cs
- GregorianCalendarHelper.cs
- RadioButtonStandardAdapter.cs
- FtpRequestCacheValidator.cs
- ZipIOExtraField.cs
- _OSSOCK.cs
- QilUnary.cs
- SessionStateUtil.cs
- KeyTime.cs
- ExtensibleClassFactory.cs
- Function.cs
- CompilerError.cs
- TemplateBindingExtensionConverter.cs
- MimeTypeAttribute.cs
- StandardToolWindows.cs
- InvalidOperationException.cs
- ProcessHostMapPath.cs
- WsdlWriter.cs
- AutomationPatternInfo.cs
- FaultHandlingFilter.cs
- TimelineClockCollection.cs
- DiscardableAttribute.cs
- TextAction.cs
- Section.cs
- StylusPointCollection.cs
- IgnoreFileBuildProvider.cs
- FontInfo.cs
- CreateUserWizardAutoFormat.cs
- XmlSchemaSearchPattern.cs
- XmlCharType.cs
- PreProcessInputEventArgs.cs
- UserControlBuildProvider.cs
- FieldNameLookup.cs
- HostedHttpTransportManager.cs
- RuntimeHandles.cs
- FontSourceCollection.cs
- TypeUtils.cs
- EventListenerClientSide.cs
- NodeFunctions.cs
- ConfigErrorGlyph.cs
- EventDescriptor.cs
- TogglePattern.cs
- Validator.cs
- XmlAutoDetectWriter.cs
- SqlResolver.cs
- CustomSignedXml.cs
- _AutoWebProxyScriptHelper.cs
- ImmComposition.cs
- IResourceProvider.cs
- BuilderPropertyEntry.cs
- GacUtil.cs
- BoundField.cs
- safex509handles.cs
- SoapServerMethod.cs
- ProjectionPathBuilder.cs
- CreateWorkflowOwnerCommand.cs
- ReferenceConverter.cs
- CollectionMarkupSerializer.cs
- DateBoldEvent.cs
- CommandField.cs
- PropertyGrid.cs
- ReferenceConverter.cs
- AppDomainResourcePerfCounters.cs
- BinaryMethodMessage.cs
- HttpContextServiceHost.cs
- TabRenderer.cs
- EmptyControlCollection.cs
- ViewStateModeByIdAttribute.cs
- CodeDirectiveCollection.cs
- IndexedGlyphRun.cs
- RoutedEventValueSerializer.cs
- TraceSource.cs
- ListBase.cs
- PresentationSource.cs
- NativeMethods.cs
- Helpers.cs
- ButtonPopupAdapter.cs
- AndCondition.cs
- XmlSchemaComplexContentExtension.cs
- TableCellAutomationPeer.cs
- StorageScalarPropertyMapping.cs
- TimeStampChecker.cs
- BoundingRectTracker.cs
- RecognizedAudio.cs
- TextOptions.cs
- ComboBoxDesigner.cs
- ExpressionVisitor.cs