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
- RowUpdatingEventArgs.cs
- WrappedIUnknown.cs
- X509CertificateValidator.cs
- NavigatorInput.cs
- Delegate.cs
- AsymmetricSignatureFormatter.cs
- SourceChangedEventArgs.cs
- XPathCompileException.cs
- Encoding.cs
- WorkflowServiceNamespace.cs
- ButtonBase.cs
- CommandExpr.cs
- _AuthenticationState.cs
- AffineTransform3D.cs
- SqlTrackingWorkflowInstance.cs
- TextRenderer.cs
- InternalBufferOverflowException.cs
- ScopelessEnumAttribute.cs
- MetaColumn.cs
- EasingQuaternionKeyFrame.cs
- WorkflowControlClient.cs
- newinstructionaction.cs
- complextypematerializer.cs
- SqlCaseSimplifier.cs
- ApplicationFileParser.cs
- Errors.cs
- MultipartIdentifier.cs
- TranslateTransform.cs
- ScaleTransform3D.cs
- SecurityContextSecurityToken.cs
- WebPartChrome.cs
- XmlMemberMapping.cs
- Mapping.cs
- EventLogSession.cs
- MessageEncodingBindingElementImporter.cs
- QueryContinueDragEvent.cs
- TableRowGroup.cs
- TextTreeNode.cs
- Tokenizer.cs
- InternalTypeHelper.cs
- SQLByte.cs
- PseudoWebRequest.cs
- CodeIterationStatement.cs
- SchemaMerger.cs
- Single.cs
- VisualStates.cs
- CharacterShapingProperties.cs
- HttpPostedFile.cs
- TimelineGroup.cs
- SerializationSectionGroup.cs
- BitmapCacheBrush.cs
- StreamMarshaler.cs
- OracleCommand.cs
- GenericUriParser.cs
- FormattedText.cs
- DataServiceContext.cs
- TemplateBindingExpressionConverter.cs
- SrgsElementFactory.cs
- DefinitionBase.cs
- StyleXamlTreeBuilder.cs
- basevalidator.cs
- HostExecutionContextManager.cs
- ExpressionNode.cs
- CompositeCollectionView.cs
- DataViewManagerListItemTypeDescriptor.cs
- SystemWebCachingSectionGroup.cs
- Matrix3DValueSerializer.cs
- HttpCookie.cs
- EllipticalNodeOperations.cs
- WmlLiteralTextAdapter.cs
- DataGridViewElement.cs
- SelectedDatesCollection.cs
- MessageAction.cs
- FixedSOMTableRow.cs
- CodeConditionStatement.cs
- XmlSchemaAttributeGroup.cs
- MarkedHighlightComponent.cs
- Debug.cs
- HotCommands.cs
- SqlNamer.cs
- listitem.cs
- OrderedDictionary.cs
- AssociationType.cs
- DoubleIndependentAnimationStorage.cs
- ValidationEventArgs.cs
- RuleSettingsCollection.cs
- RangeBase.cs
- ListView.cs
- TrustManagerMoreInformation.cs
- SoapSchemaMember.cs
- HttpRawResponse.cs
- FixedSOMSemanticBox.cs
- IncrementalReadDecoders.cs
- InputScope.cs
- ScrollViewerAutomationPeer.cs
- ChildTable.cs
- ContextMenuStrip.cs
- LocalizableAttribute.cs
- CultureTableRecord.cs
- FormsAuthenticationEventArgs.cs