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
- QueryInterceptorAttribute.cs
- LeaseManager.cs
- PolicyException.cs
- TextWriter.cs
- HttpCachePolicy.cs
- TabControl.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- DockPanel.cs
- DetailsViewCommandEventArgs.cs
- TypedRowHandler.cs
- OLEDB_Util.cs
- TextTreeDeleteContentUndoUnit.cs
- KeyEvent.cs
- HtmlInputRadioButton.cs
- ViewValidator.cs
- RootContext.cs
- RoleManagerEventArgs.cs
- HttpModuleActionCollection.cs
- SiteOfOriginContainer.cs
- CalendarDesigner.cs
- MorphHelper.cs
- DbMetaDataFactory.cs
- ObfuscationAttribute.cs
- BaseParser.cs
- RenderingEventArgs.cs
- DbConnectionStringCommon.cs
- DictionaryEntry.cs
- CheckedListBox.cs
- XsdSchemaFileEditor.cs
- ZipIOExtraField.cs
- Form.cs
- Function.cs
- WebPartHelpVerb.cs
- Rijndael.cs
- PrintPreviewControl.cs
- PingOptions.cs
- SimpleHandlerFactory.cs
- ViewManager.cs
- NativeMethods.cs
- WpfSharedBamlSchemaContext.cs
- Effect.cs
- WsdlServiceChannelBuilder.cs
- AutoCompleteStringCollection.cs
- SystemIcons.cs
- XmlToDatasetMap.cs
- WinEventWrap.cs
- ObjectSet.cs
- HttpCacheParams.cs
- SHA1Managed.cs
- TypeSystem.cs
- FileInfo.cs
- CompilationUtil.cs
- Stroke2.cs
- sortedlist.cs
- FontFamilyConverter.cs
- WebServiceData.cs
- HostSecurityManager.cs
- WindowsHyperlink.cs
- DSASignatureFormatter.cs
- XD.cs
- SafeCryptoHandles.cs
- QueryTaskGroupState.cs
- ActiveDocumentEvent.cs
- TrustManagerMoreInformation.cs
- XmlILOptimizerVisitor.cs
- HtmlLink.cs
- PropertyPathWorker.cs
- WorkflowTerminatedException.cs
- GCHandleCookieTable.cs
- DependencyPropertyValueSerializer.cs
- AnnotationComponentManager.cs
- PageParserFilter.cs
- SystemResourceKey.cs
- Queue.cs
- CqlWriter.cs
- NetMsmqSecurityElement.cs
- DesignBindingConverter.cs
- ServerIdentity.cs
- SystemSounds.cs
- WindowsPen.cs
- TreeSet.cs
- AutoGeneratedField.cs
- ParenthesizePropertyNameAttribute.cs
- BrowserCapabilitiesFactory35.cs
- SendActivityDesigner.cs
- WebEvents.cs
- DataError.cs
- EntityContainerRelationshipSet.cs
- ResourceDescriptionAttribute.cs
- CompilerScopeManager.cs
- BinaryQueryOperator.cs
- FileLoadException.cs
- SQLString.cs
- ResourceDisplayNameAttribute.cs
- SrgsRuleRef.cs
- PersonalizationStateInfoCollection.cs
- HttpCookie.cs
- LayoutTableCell.cs
- _TLSstream.cs
- KeyConstraint.cs