Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LabelLiteral.cs
- XamlSerializerUtil.cs
- MessageQueueEnumerator.cs
- New.cs
- MaterialGroup.cs
- CanonicalFontFamilyReference.cs
- SetStateDesigner.cs
- Scalars.cs
- CounterSampleCalculator.cs
- CompModSwitches.cs
- MatrixTransform3D.cs
- ExitEventArgs.cs
- DataTableNewRowEvent.cs
- ControlAdapter.cs
- ProbeMatchesMessageCD1.cs
- ReturnType.cs
- XslAstAnalyzer.cs
- ZeroOpNode.cs
- TextContainerHelper.cs
- ErrorWebPart.cs
- InfiniteIntConverter.cs
- TemplateBindingExpression.cs
- PropertyValueChangedEvent.cs
- Image.cs
- CodeBlockBuilder.cs
- DateTimeConstantAttribute.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- AutomationPropertyInfo.cs
- DataGridViewToolTip.cs
- ObjectConverter.cs
- CustomExpression.cs
- SQLDouble.cs
- SettingsBase.cs
- SqlInternalConnectionSmi.cs
- GroupBox.cs
- _NestedSingleAsyncResult.cs
- MetadataSet.cs
- EntityDataSourceState.cs
- KeyManager.cs
- InfocardExtendedInformationEntry.cs
- DocumentPageViewAutomationPeer.cs
- RelationshipNavigation.cs
- ImpersonateTokenRef.cs
- CollectionViewSource.cs
- IdentityModelDictionary.cs
- XmlWriterSettings.cs
- XsltLoader.cs
- LoginUtil.cs
- XmlHierarchicalDataSourceView.cs
- QueryExpr.cs
- SelectionListDesigner.cs
- Error.cs
- XPathAncestorQuery.cs
- DocComment.cs
- MenuRendererClassic.cs
- WebServiceResponseDesigner.cs
- ZipIOCentralDirectoryFileHeader.cs
- UserControlBuildProvider.cs
- ServicePoint.cs
- XamlClipboardData.cs
- _ProxyRegBlob.cs
- SingleConverter.cs
- HttpHandlerAction.cs
- _NestedMultipleAsyncResult.cs
- XPathNodeList.cs
- PaginationProgressEventArgs.cs
- JobStaple.cs
- EvidenceTypeDescriptor.cs
- DataRecordInfo.cs
- SplitterPanelDesigner.cs
- CopyNamespacesAction.cs
- RewritingValidator.cs
- RightsController.cs
- LineGeometry.cs
- SmiEventStream.cs
- Blend.cs
- SoapCodeExporter.cs
- ToolStripRenderEventArgs.cs
- Line.cs
- NamedPipeTransportBindingElement.cs
- SQLInt64Storage.cs
- VariableDesigner.xaml.cs
- ChildChangedEventArgs.cs
- SpellerStatusTable.cs
- ResolveCriteria11.cs
- ExpressionEditorAttribute.cs
- XmlSchemaValidator.cs
- DeflateStream.cs
- HashHelper.cs
- MemberAssignment.cs
- Property.cs
- SwitchAttribute.cs
- LazyTextWriterCreator.cs
- FormatConvertedBitmap.cs
- TypeNameConverter.cs
- ControlSerializer.cs
- ReadOnlyDataSourceView.cs
- TraceContext.cs
- TerminatorSinks.cs
- PathFigureCollection.cs