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
- TextRunCache.cs
- SqlCrossApplyToCrossJoin.cs
- DataGridItem.cs
- Internal.cs
- ActiveDocumentEvent.cs
- ConfigXmlComment.cs
- UnicodeEncoding.cs
- Win32.cs
- TargetException.cs
- Currency.cs
- AtomMaterializerLog.cs
- PictureBox.cs
- DesignConnection.cs
- DataStorage.cs
- ControlValuePropertyAttribute.cs
- SkipStoryboardToFill.cs
- XamlDebuggerXmlReader.cs
- TextServicesProperty.cs
- DataGridRowAutomationPeer.cs
- TextElementEnumerator.cs
- SetMemberBinder.cs
- UIElementCollection.cs
- EventLogException.cs
- ToolStripComboBox.cs
- FixedPosition.cs
- SQLBytesStorage.cs
- DependencyObjectProvider.cs
- DictionaryEntry.cs
- Int16.cs
- XsltArgumentList.cs
- HandleExceptionArgs.cs
- Point4D.cs
- JournalEntryListConverter.cs
- ListItemCollection.cs
- namescope.cs
- TypeLoadException.cs
- DebugTracing.cs
- WpfWebRequestHelper.cs
- XPathConvert.cs
- StructuralObject.cs
- TypeConverterHelper.cs
- SessionEndingCancelEventArgs.cs
- TdsParserStaticMethods.cs
- DataGridViewTopLeftHeaderCell.cs
- NameNode.cs
- Point.cs
- EdmToObjectNamespaceMap.cs
- PropertyGridCommands.cs
- NavigationWindow.cs
- PreparingEnlistment.cs
- BlockUIContainer.cs
- SmiEventSink_DeferedProcessing.cs
- StandardMenuStripVerb.cs
- TemplateKey.cs
- DirectoryNotFoundException.cs
- EventProviderBase.cs
- PersianCalendar.cs
- ManipulationDevice.cs
- ApplicationFileParser.cs
- BaseTemplateParser.cs
- Repeater.cs
- RandomNumberGenerator.cs
- PropertyGeneratedEventArgs.cs
- SqlInternalConnectionTds.cs
- DesignTimeVisibleAttribute.cs
- Padding.cs
- ProcessHostServerConfig.cs
- BaseTreeIterator.cs
- SecurityContextKeyIdentifierClause.cs
- SortExpressionBuilder.cs
- UserUseLicenseDictionaryLoader.cs
- XamlTreeBuilder.cs
- EntityDataSourceSelectingEventArgs.cs
- ParentQuery.cs
- AttributeEmitter.cs
- ConfigurationLocationCollection.cs
- HttpListenerException.cs
- EntityDesignerBuildProvider.cs
- ExternalException.cs
- RayMeshGeometry3DHitTestResult.cs
- Padding.cs
- SoapProcessingBehavior.cs
- HashSetEqualityComparer.cs
- EmulateRecognizeCompletedEventArgs.cs
- XmlNavigatorStack.cs
- ObjectStateEntryDbDataRecord.cs
- DiscardableAttribute.cs
- HMACSHA512.cs
- ScriptReferenceEventArgs.cs
- BuildProvider.cs
- ServiceOperationInvoker.cs
- AndCondition.cs
- IndexedGlyphRun.cs
- Parameter.cs
- CultureData.cs
- SequenceNumber.cs
- InternalDispatchObject.cs
- StylusCaptureWithinProperty.cs
- BufferedGenericXmlSecurityToken.cs
- DataGridPagerStyle.cs