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
- sqlmetadatafactory.cs
- Int16KeyFrameCollection.cs
- VolatileResourceManager.cs
- NominalTypeEliminator.cs
- Soap12ProtocolImporter.cs
- StatusBarDrawItemEvent.cs
- StringInfo.cs
- ResXFileRef.cs
- AttributeEmitter.cs
- AssemblyCollection.cs
- Error.cs
- TableLayoutPanelCellPosition.cs
- SocketElement.cs
- InternalConfigSettingsFactory.cs
- ImportCatalogPart.cs
- RawAppCommandInputReport.cs
- WindowsStreamSecurityElement.cs
- IntranetCredentialPolicy.cs
- XmlQualifiedNameTest.cs
- ContentFileHelper.cs
- FixedFindEngine.cs
- DecoderBestFitFallback.cs
- SmtpSection.cs
- HwndStylusInputProvider.cs
- WebServiceHandler.cs
- XamlRtfConverter.cs
- SecurityContext.cs
- APCustomTypeDescriptor.cs
- ReadOnlyObservableCollection.cs
- ChannelBinding.cs
- AnimationStorage.cs
- ApplyTemplatesAction.cs
- MsmqTransportReceiveParameters.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DecimalStorage.cs
- DbException.cs
- Group.cs
- RsaElement.cs
- OrElse.cs
- AssemblyInfo.cs
- CompositeCollectionView.cs
- EntityTypeBase.cs
- CloseCollectionAsyncResult.cs
- TextServicesCompartmentEventSink.cs
- StreamHelper.cs
- RotationValidation.cs
- Boolean.cs
- LineServicesCallbacks.cs
- ResourceSet.cs
- UnsafeNetInfoNativeMethods.cs
- XPathAxisIterator.cs
- PolyBezierSegment.cs
- SqlFactory.cs
- DataTableNewRowEvent.cs
- LineSegment.cs
- QueryException.cs
- Attributes.cs
- Size.cs
- ScriptingRoleServiceSection.cs
- WebPartTransformerAttribute.cs
- ChannelTracker.cs
- ComponentDispatcherThread.cs
- OptimalBreakSession.cs
- OpenTypeLayout.cs
- BoundField.cs
- WebResponse.cs
- UriScheme.cs
- SafeReversePInvokeHandle.cs
- StringComparer.cs
- CommentGlyph.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebScriptClientGenerator.cs
- SizeIndependentAnimationStorage.cs
- DataColumnMapping.cs
- ConnectorDragDropGlyph.cs
- BrowserDefinitionCollection.cs
- MD5HashHelper.cs
- ValidatedControlConverter.cs
- SendSecurityHeaderElement.cs
- HttpCapabilitiesEvaluator.cs
- XmlSchemaComplexContentExtension.cs
- GPPOINT.cs
- DataGridViewIntLinkedList.cs
- PassportAuthentication.cs
- DelegatedStream.cs
- CheckBoxField.cs
- PageScaling.cs
- PlatformNotSupportedException.cs
- DbConnectionStringCommon.cs
- TreeWalker.cs
- Rotation3DAnimationBase.cs
- CorrelationKey.cs
- AddressUtility.cs
- SqlUDTStorage.cs
- PropertyGridCommands.cs
- MergablePropertyAttribute.cs
- TextElementCollectionHelper.cs
- ObsoleteAttribute.cs
- DetailsViewInsertEventArgs.cs
- GeneralTransform3DCollection.cs