Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / InternalControlCollection.cs / 1305376 / 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(); } } } // 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(); } } } // 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
- SystemIcmpV6Statistics.cs
- EpmTargetPathSegment.cs
- Point3DAnimationBase.cs
- Grid.cs
- ServiceModelExtensionCollectionElement.cs
- IndicCharClassifier.cs
- ClientUtils.cs
- CellParaClient.cs
- SizeIndependentAnimationStorage.cs
- MediaSystem.cs
- GridViewRowPresenter.cs
- ShaperBuffers.cs
- BitConverter.cs
- AdditionalEntityFunctions.cs
- TemplateControlParser.cs
- InfoCardXmlSerializer.cs
- TableLayoutRowStyleCollection.cs
- MessageBox.cs
- CounterSet.cs
- ConfigurationManager.cs
- IODescriptionAttribute.cs
- PropertyPath.cs
- ButtonField.cs
- SqlServices.cs
- DataGridTextBox.cs
- ProviderUtil.cs
- StackBuilderSink.cs
- TypeContext.cs
- ToolStripItem.cs
- ProviderConnectionPoint.cs
- SecurityContext.cs
- TextSelection.cs
- PrintDocument.cs
- XmlSiteMapProvider.cs
- SizeKeyFrameCollection.cs
- PropertyTabChangedEvent.cs
- TransformationRules.cs
- ACE.cs
- ToolBarButtonClickEvent.cs
- _UriSyntax.cs
- SplitterPanel.cs
- XmlAttribute.cs
- ValueTypeFixupInfo.cs
- MailDefinitionBodyFileNameEditor.cs
- RawUIStateInputReport.cs
- VirtualDirectoryMappingCollection.cs
- ConnectionPointCookie.cs
- LicenseManager.cs
- UriScheme.cs
- UIElementCollection.cs
- AlternateView.cs
- SpellerHighlightLayer.cs
- DivideByZeroException.cs
- SerializationException.cs
- sqlinternaltransaction.cs
- TextModifierScope.cs
- AxisAngleRotation3D.cs
- HostedElements.cs
- EventBuilder.cs
- OleDbTransaction.cs
- XsdBuilder.cs
- DataGridViewColumnDesigner.cs
- FrugalMap.cs
- EmitterCache.cs
- ValueChangedEventManager.cs
- NavigationWindowAutomationPeer.cs
- BrowserDefinitionCollection.cs
- Documentation.cs
- __FastResourceComparer.cs
- PnrpPeerResolverElement.cs
- ToolStripArrowRenderEventArgs.cs
- ExcCanonicalXml.cs
- TextServicesHost.cs
- CryptoApi.cs
- SchemaImporterExtensionElement.cs
- OpenFileDialog.cs
- XmlDocumentFragment.cs
- TraceContextEventArgs.cs
- TraceContextEventArgs.cs
- WindowsAuthenticationModule.cs
- CorrelationScope.cs
- AuthStoreRoleProvider.cs
- TemplateControl.cs
- SoapAttributeAttribute.cs
- QuaternionRotation3D.cs
- MetaChildrenColumn.cs
- FileLevelControlBuilderAttribute.cs
- XmlSchemaAny.cs
- SecurityManager.cs
- MultiView.cs
- UnmanagedMemoryStream.cs
- NonBatchDirectoryCompiler.cs
- Transaction.cs
- LogExtentCollection.cs
- XPathSelfQuery.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- _HeaderInfo.cs
- XmlNodeWriter.cs
- OletxVolatileEnlistment.cs
- WindowsSolidBrush.cs