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
- SwitchCase.cs
- PropertyEmitterBase.cs
- CodeIdentifier.cs
- ListenerUnsafeNativeMethods.cs
- FixedSOMFixedBlock.cs
- ADRoleFactory.cs
- ColorConvertedBitmap.cs
- IndentedTextWriter.cs
- MultiTrigger.cs
- EnumValidator.cs
- SystemPens.cs
- GlyphRunDrawing.cs
- Context.cs
- GetTokenRequest.cs
- CompilerWrapper.cs
- ValidationSummary.cs
- Visual3D.cs
- AttributeAction.cs
- FixedStringLookup.cs
- RuntimeResourceSet.cs
- Transform.cs
- UserUseLicenseDictionaryLoader.cs
- XmlSchemaException.cs
- XmlAttributes.cs
- OrderedDictionaryStateHelper.cs
- TemplateKeyConverter.cs
- PropertyEmitterBase.cs
- SchemaManager.cs
- DashStyle.cs
- ValidationHelper.cs
- RankException.cs
- FastPropertyAccessor.cs
- Selection.cs
- IisTraceWebEventProvider.cs
- FontResourceCache.cs
- ImageListStreamer.cs
- ISAPIApplicationHost.cs
- Calendar.cs
- TypeLibConverter.cs
- CurrencyWrapper.cs
- SiteMapNode.cs
- WebServiceReceive.cs
- PrintDialog.cs
- NamespaceList.cs
- MsmqQueue.cs
- PerformanceCounter.cs
- DeadCharTextComposition.cs
- Function.cs
- InvalidCommandTreeException.cs
- ObjectListItem.cs
- RegexStringValidatorAttribute.cs
- HtmlInputReset.cs
- MILUtilities.cs
- ItemsControlAutomationPeer.cs
- ObjectDataSourceDisposingEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- UnsafeNetInfoNativeMethods.cs
- hresults.cs
- MessageSmuggler.cs
- PersonalizationProviderCollection.cs
- PointConverter.cs
- NamedPipeActivation.cs
- WorkItem.cs
- DataObjectCopyingEventArgs.cs
- SettingsProperty.cs
- ApplicationSecurityManager.cs
- FragmentNavigationEventArgs.cs
- XmlC14NWriter.cs
- AttachedAnnotation.cs
- Group.cs
- TailPinnedEventArgs.cs
- XmlTextReaderImpl.cs
- SqlLiftWhereClauses.cs
- EntityContainerEmitter.cs
- PropertyDescriptorCollection.cs
- GlobalizationSection.cs
- HotCommands.cs
- DATA_BLOB.cs
- RenamedEventArgs.cs
- EntityTemplateUserControl.cs
- WebPartHeaderCloseVerb.cs
- ResolvePPIDRequest.cs
- SqlDataSourceAdvancedOptionsForm.cs
- ColumnResizeAdorner.cs
- CodeCastExpression.cs
- UInt32.cs
- ExpressionConverter.cs
- IncrementalCompileAnalyzer.cs
- BitmapSourceSafeMILHandle.cs
- Point3DCollection.cs
- InternalDuplexBindingElement.cs
- Columns.cs
- LineSegment.cs
- ContractNamespaceAttribute.cs
- InvokePatternIdentifiers.cs
- sqlnorm.cs
- UriSection.cs
- AdjustableArrowCap.cs
- InternalsVisibleToAttribute.cs
- CodeTypeReferenceExpression.cs