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
- UpDownEvent.cs
- MobileUserControlDesigner.cs
- MsmqIntegrationChannelFactory.cs
- AccessibilityHelperForXpWin2k3.cs
- TableLayoutRowStyleCollection.cs
- NonBatchDirectoryCompiler.cs
- QilSortKey.cs
- JsonReaderWriterFactory.cs
- OdbcConnectionHandle.cs
- NavigationHelper.cs
- DbProviderFactory.cs
- SingleObjectCollection.cs
- SqlCommandSet.cs
- ResourceProviderFactory.cs
- httpstaticobjectscollection.cs
- DecoratedNameAttribute.cs
- AppDomainFactory.cs
- CodeSnippetStatement.cs
- SuppressIldasmAttribute.cs
- TargetControlTypeAttribute.cs
- StringValidatorAttribute.cs
- DiscoveryDocumentSearchPattern.cs
- Table.cs
- BitVector32.cs
- BypassElementCollection.cs
- ZipIOLocalFileHeader.cs
- TempFiles.cs
- ServiceHostingEnvironment.cs
- Stacktrace.cs
- MediaContextNotificationWindow.cs
- EntityContainerEntitySet.cs
- TextDecorationCollection.cs
- _NestedSingleAsyncResult.cs
- MetadataArtifactLoader.cs
- DynamicDiscoveryDocument.cs
- DataKeyCollection.cs
- OrderingExpression.cs
- AttachedPropertyMethodSelector.cs
- TransformPatternIdentifiers.cs
- DbgCompiler.cs
- BamlTreeUpdater.cs
- InstanceDataCollection.cs
- fixedPageContentExtractor.cs
- JavaScriptString.cs
- SubpageParagraph.cs
- SrgsDocument.cs
- DeferredSelectedIndexReference.cs
- ToolStripManager.cs
- CommonProperties.cs
- ScriptingAuthenticationServiceSection.cs
- ConditionalAttribute.cs
- ActivityBuilder.cs
- CapabilitiesSection.cs
- SQLResource.cs
- LinkTarget.cs
- HttpAsyncResult.cs
- SelectionPattern.cs
- SafeBitVector32.cs
- ProbeMatchesCD1.cs
- ArithmeticException.cs
- MultiTrigger.cs
- XhtmlBasicLiteralTextAdapter.cs
- MouseButtonEventArgs.cs
- HtmlTextViewAdapter.cs
- EpmContentDeSerializerBase.cs
- Delegate.cs
- TreeViewCancelEvent.cs
- ProviderSettingsCollection.cs
- NegotiationTokenAuthenticatorStateCache.cs
- GridViewEditEventArgs.cs
- XslVisitor.cs
- EventPrivateKey.cs
- Collection.cs
- DataServiceProviderMethods.cs
- BaseAppDomainProtocolHandler.cs
- BitmapImage.cs
- Convert.cs
- SqlDependencyListener.cs
- ComponentCollection.cs
- DesignerView.xaml.cs
- TabPage.cs
- StrokeDescriptor.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- XDeferredAxisSource.cs
- IERequestCache.cs
- _AutoWebProxyScriptHelper.cs
- SafeEventLogWriteHandle.cs
- CompositeControl.cs
- SqlConnectionStringBuilder.cs
- HtmlLinkAdapter.cs
- WebBrowserUriTypeConverter.cs
- httpstaticobjectscollection.cs
- SynchronizationLockException.cs
- ScriptResourceDefinition.cs
- ProfileService.cs
- SoapEnumAttribute.cs
- FixedSOMElement.cs
- UnaryOperationBinder.cs
- ParentQuery.cs
- regiisutil.cs