Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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 } }/// 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
- _NetworkingPerfCounters.cs
- ForeignKeyConstraint.cs
- DesignBinding.cs
- EntityDataSourceEntitySetNameItem.cs
- WorkerRequest.cs
- NamedPipeAppDomainProtocolHandler.cs
- documentsequencetextpointer.cs
- WebPartTransformerAttribute.cs
- SafeNativeMethods.cs
- PrePrepareMethodAttribute.cs
- GeneralTransform3DTo2D.cs
- HostExecutionContextManager.cs
- WebPartConnection.cs
- LogLogRecord.cs
- XmlSchema.cs
- ObjectStorage.cs
- ExpressionDumper.cs
- Ipv6Element.cs
- TextElementEditingBehaviorAttribute.cs
- PropertyFilterAttribute.cs
- BufferedGraphicsManager.cs
- QilStrConcatenator.cs
- VectorConverter.cs
- ToolStripContainer.cs
- UpdateDelegates.Generated.cs
- EncoderNLS.cs
- RegexMatch.cs
- WinCategoryAttribute.cs
- RuleSet.cs
- DocumentReference.cs
- TreeViewEvent.cs
- hresults.cs
- TranslateTransform3D.cs
- SafeMarshalContext.cs
- SafeRegistryHandle.cs
- InstanceNormalEvent.cs
- HostProtectionPermission.cs
- StorageEndPropertyMapping.cs
- AuthenticationException.cs
- TextBox.cs
- Opcode.cs
- VersionPair.cs
- GB18030Encoding.cs
- PropertyTabAttribute.cs
- Base64Stream.cs
- TraceHandler.cs
- WebPartDescriptionCollection.cs
- WindowInteractionStateTracker.cs
- TypeEnumerableViewSchema.cs
- PrivilegeNotHeldException.cs
- SQLRoleProvider.cs
- WebPartVerbCollection.cs
- Empty.cs
- AppDomainAttributes.cs
- IndexOutOfRangeException.cs
- MgmtConfigurationRecord.cs
- _NegoStream.cs
- BounceEase.cs
- ValueTypeIndexerReference.cs
- DataGridViewCellFormattingEventArgs.cs
- SessionEndedEventArgs.cs
- ArgumentException.cs
- AssertSection.cs
- ProxyWebPartConnectionCollection.cs
- SQLMoneyStorage.cs
- ServiceBehaviorElementCollection.cs
- MaskedTextProvider.cs
- UInt64Storage.cs
- ObjectListItemCollection.cs
- ObjectViewFactory.cs
- OutOfMemoryException.cs
- TypeDelegator.cs
- ToolZone.cs
- TypeNameParser.cs
- PropertySourceInfo.cs
- WebPartTracker.cs
- XPathAncestorQuery.cs
- PointHitTestResult.cs
- TypeBuilder.cs
- MSG.cs
- TemplatePropertyEntry.cs
- FormViewCommandEventArgs.cs
- Stroke.cs
- SecureUICommand.cs
- HtmlGenericControl.cs
- DateTimeOffsetAdapter.cs
- LocationSectionRecord.cs
- NavigationWindowAutomationPeer.cs
- FileDetails.cs
- ColorAnimationUsingKeyFrames.cs
- VerbConverter.cs
- DictionaryGlobals.cs
- GridView.cs
- ContainsRowNumberChecker.cs
- Function.cs
- MultiView.cs
- UInt32.cs
- XmlSchemaSubstitutionGroup.cs
- HttpCookie.cs
- EncoderReplacementFallback.cs