Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- SimpleTypeResolver.cs
- CompileXomlTask.cs
- PathFigureCollection.cs
- ScrollBarRenderer.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- Multiply.cs
- ListViewDeletedEventArgs.cs
- Rotation3D.cs
- NullNotAllowedCollection.cs
- ConfigurationValidatorAttribute.cs
- WebUtil.cs
- sqlser.cs
- CodeArrayCreateExpression.cs
- DbParameterHelper.cs
- CrossAppDomainChannel.cs
- WindowsListViewGroupHelper.cs
- FacetChecker.cs
- _NtlmClient.cs
- XmlSignificantWhitespace.cs
- GraphicsPath.cs
- LabelExpression.cs
- GroupAggregateExpr.cs
- BitmapEffectvisualstate.cs
- While.cs
- BuildResultCache.cs
- DocumentEventArgs.cs
- PrinterSettings.cs
- InfoCardTrace.cs
- IteratorAsyncResult.cs
- XpsFixedDocumentReaderWriter.cs
- SR.cs
- SafeCertificateContext.cs
- AutomationProperties.cs
- ReadOnlyCollectionBase.cs
- ToolStripLocationCancelEventArgs.cs
- EntryPointNotFoundException.cs
- DataFormats.cs
- XmlUrlResolver.cs
- Pool.cs
- ConfigurationSettings.cs
- HtmlGenericControl.cs
- TransactedBatchContext.cs
- PlatformCulture.cs
- WebControlsSection.cs
- SweepDirectionValidation.cs
- ObjectQuery_EntitySqlExtensions.cs
- ProcessHostServerConfig.cs
- ComponentChangedEvent.cs
- GeometryConverter.cs
- BufferAllocator.cs
- DefaultObjectMappingItemCollection.cs
- TransferRequestHandler.cs
- CodePageUtils.cs
- AbstractDataSvcMapFileLoader.cs
- JoinElimination.cs
- CompilerHelpers.cs
- EncryptedKey.cs
- PropertiesTab.cs
- JournalNavigationScope.cs
- HandleTable.cs
- FillErrorEventArgs.cs
- TypeReference.cs
- CachedPathData.cs
- EntityContainer.cs
- GestureRecognizer.cs
- XmlLinkedNode.cs
- SafeNativeMethods.cs
- Lookup.cs
- DataFormats.cs
- BehaviorEditorPart.cs
- AlternateView.cs
- selecteditemcollection.cs
- ChannelServices.cs
- ColumnWidthChangingEvent.cs
- ProviderException.cs
- Partitioner.cs
- ExpressionEditorAttribute.cs
- EventLogPermissionEntry.cs
- Annotation.cs
- SendingRequestEventArgs.cs
- WebPartZone.cs
- PointLight.cs
- OperatingSystem.cs
- SerializationStore.cs
- EncryptedKeyIdentifierClause.cs
- Int32AnimationBase.cs
- PersonalizationStateQuery.cs
- UrlRoutingHandler.cs
- cookiecollection.cs
- StaticTextPointer.cs
- Rotation3D.cs
- SamlAuthenticationStatement.cs
- HMACRIPEMD160.cs
- ImageIndexConverter.cs
- PublishLicense.cs
- XMLUtil.cs
- PrintDocument.cs
- ScriptControlDescriptor.cs
- AvTrace.cs
- PageCodeDomTreeGenerator.cs