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
- DetailsView.cs
- AxDesigner.cs
- AutoResizedEvent.cs
- HtmlGenericControl.cs
- TokenBasedSet.cs
- GetIndexBinder.cs
- Win32NamedPipes.cs
- SpecularMaterial.cs
- SafeCryptContextHandle.cs
- InfoCardService.cs
- AnyAllSearchOperator.cs
- MultiSelectRootGridEntry.cs
- X509CertificateChain.cs
- CapabilitiesRule.cs
- BrowserCapabilitiesCodeGenerator.cs
- ContextDataSourceView.cs
- TabControlEvent.cs
- DataColumn.cs
- ParserOptions.cs
- ConfigurationManagerInternalFactory.cs
- DeferredSelectedIndexReference.cs
- SimpleMailWebEventProvider.cs
- BeginEvent.cs
- DBConcurrencyException.cs
- DataPager.cs
- ExpressionValueEditor.cs
- MediaPlayer.cs
- LookupBindingPropertiesAttribute.cs
- ArrayList.cs
- _Connection.cs
- CodeObject.cs
- ContentElementAutomationPeer.cs
- ProcessHostFactoryHelper.cs
- OleAutBinder.cs
- RegexGroupCollection.cs
- HttpCapabilitiesEvaluator.cs
- ViewBox.cs
- GeneralEndpointIdentity.cs
- WebPartZoneCollection.cs
- OutputCacheModule.cs
- IntAverageAggregationOperator.cs
- FileUtil.cs
- MultitargetingHelpers.cs
- RelatedView.cs
- ElapsedEventArgs.cs
- MarkupCompiler.cs
- DataListItemCollection.cs
- LayoutUtils.cs
- TimeoutException.cs
- NameTable.cs
- XmlEncodedRawTextWriter.cs
- BinaryReader.cs
- GenerateTemporaryAssemblyTask.cs
- XamlSerializer.cs
- RefreshPropertiesAttribute.cs
- ExecutionEngineException.cs
- XmlRootAttribute.cs
- ExtractorMetadata.cs
- MaskedTextBoxTextEditor.cs
- DrawingVisual.cs
- ToolStripContainer.cs
- EventLogEntryCollection.cs
- PrintPreviewControl.cs
- SendMailErrorEventArgs.cs
- RecognizerInfo.cs
- XslVisitor.cs
- RSAPKCS1KeyExchangeFormatter.cs
- PolicyManager.cs
- X509RecipientCertificateClientElement.cs
- XpsSerializerWriter.cs
- SspiSafeHandles.cs
- NotifyParentPropertyAttribute.cs
- WindowsAltTab.cs
- PowerEase.cs
- CommentEmitter.cs
- SiteMapSection.cs
- LoginCancelEventArgs.cs
- FaultCode.cs
- OpenTypeLayoutCache.cs
- WebPartEditorOkVerb.cs
- DeviceSpecificChoice.cs
- PageContentAsyncResult.cs
- DefaultEventAttribute.cs
- StringValueConverter.cs
- XmlRawWriterWrapper.cs
- odbcmetadatacollectionnames.cs
- RelativeSource.cs
- Annotation.cs
- NavigationHelper.cs
- InternalConfirm.cs
- ServiceModelTimeSpanValidator.cs
- XmlDataContract.cs
- XmlSchemaSet.cs
- ExtractorMetadata.cs
- SchemaDeclBase.cs
- AdRotatorDesigner.cs
- FontUnitConverter.cs
- TypeDescriptionProvider.cs
- HttpResponseHeader.cs
- TerminatorSinks.cs