Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PrefixQName.cs
- UICuesEvent.cs
- StaticDataManager.cs
- ConfigurationValues.cs
- Journaling.cs
- ScalarOps.cs
- LoginUtil.cs
- RoleGroup.cs
- WpfPayload.cs
- path.cs
- DataBoundControl.cs
- CreateCardRequest.cs
- ServiceOperationParameter.cs
- SqlPersonalizationProvider.cs
- CommandHelpers.cs
- XPathNodeInfoAtom.cs
- EntityTemplateUserControl.cs
- WrappedReader.cs
- SettingsAttributes.cs
- XmlSchemaException.cs
- EtwProvider.cs
- EntityReference.cs
- ExtendedTransformFactory.cs
- FormatterConverter.cs
- LazyTextWriterCreator.cs
- DynamicArgumentDesigner.xaml.cs
- CodeGroup.cs
- OptionalColumn.cs
- SessionStateModule.cs
- safex509handles.cs
- PolygonHotSpot.cs
- SqlErrorCollection.cs
- RemoveStoryboard.cs
- QuestionEventArgs.cs
- WriteableBitmap.cs
- Section.cs
- MemoryMappedFile.cs
- HostProtectionPermission.cs
- SemaphoreSlim.cs
- RequestUriProcessor.cs
- FixedSOMSemanticBox.cs
- Bitmap.cs
- TextSelectionProcessor.cs
- XmlChildEnumerator.cs
- LOSFormatter.cs
- URL.cs
- EdgeModeValidation.cs
- DiagnosticTraceSource.cs
- LicenseException.cs
- InstancePersistenceContext.cs
- VisualBasicSettings.cs
- GacUtil.cs
- FixedFindEngine.cs
- AngleUtil.cs
- ExpressionsCollectionEditor.cs
- EntityDataSourceView.cs
- UTF7Encoding.cs
- LogExtent.cs
- XmlSchemaChoice.cs
- UInt16Storage.cs
- WindowsIdentity.cs
- TypefaceMetricsCache.cs
- LinqDataView.cs
- XmlBindingWorker.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WpfKnownTypeInvoker.cs
- AudioFormatConverter.cs
- HotSpotCollection.cs
- RevocationPoint.cs
- sqlstateclientmanager.cs
- Sequence.cs
- SapiRecoInterop.cs
- Formatter.cs
- BitmapCodecInfoInternal.cs
- ExternalFile.cs
- FontNamesConverter.cs
- XPathMultyIterator.cs
- WebBrowserBase.cs
- InvalidWMPVersionException.cs
- MediaPlayer.cs
- MultiPartWriter.cs
- ByteAnimationBase.cs
- PolicyManager.cs
- SqlNotificationEventArgs.cs
- AutomationTextAttribute.cs
- EDesignUtil.cs
- BasicExpandProvider.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- Environment.cs
- IndexedGlyphRun.cs
- IndicShape.cs
- PerformanceCounterNameAttribute.cs
- LicenseManager.cs
- DataGridViewLayoutData.cs
- EncoderParameter.cs
- SimpleTextLine.cs
- ObjRef.cs
- StaticSiteMapProvider.cs
- EventSourceCreationData.cs
- OdbcRowUpdatingEvent.cs