Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- StrongNameHelpers.cs
- FormatException.cs
- OutOfProcStateClientManager.cs
- UpdateExpressionVisitor.cs
- DataReaderContainer.cs
- XamlRtfConverter.cs
- DataBoundControlAdapter.cs
- ContainerFilterService.cs
- InvalidContentTypeException.cs
- RepeatBehavior.cs
- Rss20FeedFormatter.cs
- ExceptionValidationRule.cs
- VScrollBar.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UInt64Converter.cs
- MailMessageEventArgs.cs
- TypeDescriptionProviderAttribute.cs
- ImageMetadata.cs
- XmlNavigatorStack.cs
- WebPartTracker.cs
- StrokeDescriptor.cs
- TreeNodeCollectionEditorDialog.cs
- SmiMetaDataProperty.cs
- HMACSHA256.cs
- NetworkAddressChange.cs
- MediaEntryAttribute.cs
- XmlSchemaCompilationSettings.cs
- Stack.cs
- SqlVisitor.cs
- DataTableNewRowEvent.cs
- CapabilitiesUse.cs
- FacetDescription.cs
- KeyboardEventArgs.cs
- ISAPIApplicationHost.cs
- XmlCharCheckingReader.cs
- EventHandlerList.cs
- RegexCaptureCollection.cs
- OneToOneMappingSerializer.cs
- PageOutputColor.cs
- ProfileServiceManager.cs
- safemediahandle.cs
- AdCreatedEventArgs.cs
- DynamicRenderer.cs
- SettingsSavedEventArgs.cs
- XmlDocument.cs
- VirtualizingPanel.cs
- Oid.cs
- InputProcessorProfilesLoader.cs
- SystemResourceHost.cs
- DbConvert.cs
- XmlILAnnotation.cs
- DataFormats.cs
- SafeNativeMethods.cs
- WCFModelStrings.Designer.cs
- WorkflowDataContext.cs
- CssTextWriter.cs
- MimeTypeMapper.cs
- Connector.cs
- RequestStatusBarUpdateEventArgs.cs
- Permission.cs
- XmlStreamStore.cs
- ApplicationServicesHostFactory.cs
- TextInfo.cs
- DependencyObjectPropertyDescriptor.cs
- BasePropertyDescriptor.cs
- PageSetupDialog.cs
- IncrementalHitTester.cs
- PathSegmentCollection.cs
- X509Certificate.cs
- SizeConverter.cs
- HtmlTable.cs
- ClientData.cs
- ThicknessAnimation.cs
- JulianCalendar.cs
- KeyManager.cs
- KeyTime.cs
- SqlExpressionNullability.cs
- ScriptControlDescriptor.cs
- ChangeProcessor.cs
- TextBox.cs
- Queue.cs
- XmlKeywords.cs
- FlowchartSizeFeature.cs
- PixelShader.cs
- MethodExpr.cs
- ChannelTerminatedException.cs
- GPPOINT.cs
- ApplicationBuildProvider.cs
- CompressionTracing.cs
- AuthenticationSection.cs
- MetadataExporter.cs
- TextClipboardData.cs
- NameObjectCollectionBase.cs
- RichTextBoxAutomationPeer.cs
- sqlpipe.cs
- StorageSetMapping.cs
- ParameterModifier.cs
- SchemaHelper.cs
- StorageMappingItemLoader.cs
- CountAggregationOperator.cs