Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Represents a ControlCollection that controls can only be added to internally. /// ///// 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 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- TemplateComponentConnector.cs
- Label.cs
- PlatformNotSupportedException.cs
- QueryOpeningEnumerator.cs
- RegisteredScript.cs
- InternalResources.cs
- ObjectDisposedException.cs
- HttpWebResponse.cs
- MediaContext.cs
- TableCellAutomationPeer.cs
- SafeCoTaskMem.cs
- RewritingValidator.cs
- xamlnodes.cs
- SetStoryboardSpeedRatio.cs
- _Events.cs
- SessionEndedEventArgs.cs
- DbParameterHelper.cs
- CodeDOMUtility.cs
- RowSpanVector.cs
- RSATokenProvider.cs
- MetaTableHelper.cs
- XmlILStorageConverter.cs
- BaseDataBoundControlDesigner.cs
- XamlInt32CollectionSerializer.cs
- RemoteWebConfigurationHostServer.cs
- RTTypeWrapper.cs
- LocalBuilder.cs
- HttpHandlerAction.cs
- DataBindEngine.cs
- TextBoxRenderer.cs
- RemotingClientProxy.cs
- SortKey.cs
- ScriptResourceAttribute.cs
- EditingCoordinator.cs
- _ListenerRequestStream.cs
- ToolStripManager.cs
- HttpFileCollection.cs
- OperationParameterInfo.cs
- MutableAssemblyCacheEntry.cs
- FormViewUpdatedEventArgs.cs
- Variable.cs
- PlanCompiler.cs
- HandlerFactoryCache.cs
- ObjectDataSourceFilteringEventArgs.cs
- CodeSubDirectory.cs
- ConstantExpression.cs
- BinHexDecoder.cs
- UrlParameterWriter.cs
- CodeAccessPermission.cs
- WindowsAuthenticationModule.cs
- DrawingGroupDrawingContext.cs
- SpecularMaterial.cs
- TextParagraphView.cs
- UnmanagedBitmapWrapper.cs
- BatchParser.cs
- Material.cs
- Literal.cs
- HttpModulesSection.cs
- NativeMethods.cs
- GeneratedView.cs
- AttachedAnnotationChangedEventArgs.cs
- ConfigUtil.cs
- ColumnResizeAdorner.cs
- DocumentOrderQuery.cs
- SerializableAttribute.cs
- SignatureDescription.cs
- CodeEntryPointMethod.cs
- ProfileService.cs
- Soap.cs
- SystemThemeKey.cs
- StateRuntime.cs
- MimePart.cs
- SqlMultiplexer.cs
- FormsIdentity.cs
- PageFunction.cs
- CreateRefExpr.cs
- PropertyInformation.cs
- StringConverter.cs
- HttpContextServiceHost.cs
- SqlFlattener.cs
- PrincipalPermission.cs
- MyContact.cs
- ChainedAsyncResult.cs
- ApplicationDirectory.cs
- sortedlist.cs
- FileUtil.cs
- ResourceDescriptionAttribute.cs
- WebCategoryAttribute.cs
- XamlGridLengthSerializer.cs
- arclist.cs
- EntityProxyTypeInfo.cs
- SpeechSeg.cs
- DataRecordInfo.cs
- SecurityTokenProvider.cs
- Stacktrace.cs
- DecimalFormatter.cs
- DataGridLinkButton.cs
- ScrollBar.cs
- ClientRuntimeConfig.cs
- SkipStoryboardToFill.cs